Gaza ceasefire agreed, including a prisoner exchange and aid surge, after more than 460 days of conflict.