added json error responses to edit student form
Merge branch 'master' into update_delete