Gioia tells a 4,000-year history of music as a global source of power, change, and upheaval. He shows how social outcasts have repeatedly become trailblazers of musical expression