MASSIV: Mass Assembly Survey with SINFONI in VVDS - VI. Metallicity-related fundamental relations in star-forming galaxies at 1 < z < 2