The global climate talks here were salvaged from the brink of collapse with an overall agreement on Sunday on a roadmap towards an accord that for the first time will bring all major greenhouse-gas