The world has welcomed the ceasefire agreement reached by negotiators in Qatar after 15 months of a war that has killed tens of thousands of Palestinians.