Clean up error handling in users controller

* Use update! instead of update so that exception is thrown for invalid
  entries
* Catch ActiveRecord::RecordInvalid exception in ApplicationController