After months of soul-searching, the Intergovernmental Panel on Climate Change (IPCC) has agreed on reforms intended to restore confidence in its integrity and its assessments of climate science.