Small refactor in ResumesController.

Also change return status from 404 to 400 when updating resume
with invalid association id(s).