Massive gravity as a quantum gauge theory