Giant polarization rotation induced by a single spin: A cavity-based spin-photon interface