The act, which turned 50 last year, ended the era of legal segregation in public accommodations, like restaurants and hotels. Author Todd Purdum talks about the battles that surrounded it.