Image controller spec refactoring, render json of errors on failure of #create, change failure status code to 422
Change delete status code to 204
update method on ImagesController for updating images