Gravar-mail: Photonic transistor and router using a single quantum-dot-confined spin in a single-sided optical microcavity