Rival Palestinian factions Hamas and Fatah sign a unity deal, calling for the foundation of a single government in the Gaza Strip and Palestinian Authority-controlled areas of the West Bank, presidential and legislative elections in a year, and the release of prisoners.