Nations at UN climate talks agree on $300B a year for poor countries to curb and adapt to warming in a compromise deal.