UN court will take up the largest case in its history when it opens two weeks of hearings into what countries worldwide are legally required to do to combat climate change.