In the hours before Donald Trump's inauguration the world is preparing for a presidency that has huge implications for international security, global trade and the fight against climate change.