Marathon talks in Warsaw end with a fragile agreement on the way forward to a new global climate deal in Paris in 2015.