UN delegates in Qatar agree that rich countries should compensate poor nations for climate damage, and extend the Kyoto Protocol until 2020.