Israel and Hamas have agreed a ceasefire. But can a new Palestinian society be built from the ruins of war?