Nations have begun signing a legally binding treaty designed to curb mercury pollution and the use of the toxic metal in products around the globe.