A major hostage and prisoner exchange marks a significant step towards ending two years of war in Gaza.