Fyra personer som varit gisslan hos terrorstämplade Hamas har släppts. Samtidigt har 200 palestinska fångar släppts från israeliska fängelser.