He was the architect of the Fab Four's success, but his life was one of torment, and ultimately tragedy, as he tried to live with his homosexuality in a time when it was against the law. Jon Savage explores the man without whom, there would be no Beatles