Generic exceptions should always be handled with rescue_from
Don't return on the last line of controller methods
rescue_from handlers should have proper access to user info set via UserActionLog filter
Move most DocumentNotFound handling to ApiResponse#render_exception

Abstracts the details of not found errors globally to allow much simpler controller code.
Add test cases for not_found messages and behavior
Authorizations will not return specific id messages
Remove binding.pry, causing failures
Merge remote-tracking branch 'origin/master' into handle_global_exceptions_properly

Conflicts:
	console/test/integration/rest_api/authorization_test.rb
	controller/app/controllers/alias_controller.rb
Missed a rescue of Mongoid::Errors::DocumentNotFound
Merge remote-tracking branch 'origin/master' into handle_global_exceptions_properly

Conflicts:
	controller/app/controllers/domains_controller.rb
Fix failing test in api_responses
Convert keys_controller - work around double deletion bug in console code
Merge remote-tracking branch 'origin/master' into handle_global_exceptions_properly
Handle nested subclasses in error responses
Merge remote-tracking branch 'origin/master' into handle_global_exceptions_properly

Conflicts:
	controller/app/models/ssh_key.rb
Merge pull request #3078 from smarterclayton/handle_global_exceptions_properly

Merged by openshift-bot