Negotiators from 195 nations have agreed to establish a unified global carbon trading system, a breakthrough decades in the making.