Massive gravity, canonical structure and gauge symmetry