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