Four Palestinian prisoners who managed to break out from Israeli prison have now appeared in court after they were recaptured.