The last living American hostage has been released from Gaza following direct talks between the US and Hamas. It comes as Israel prepares for a military occupation of the territory, moving the population and taking control of food and aid distribution.