Density of Lipschitz functions and equivalence of weak gradients in metric measure spaces