Do not log errors if handled by user. Close #340

Add Controller.Exception to format plug errors and handle
error logging for use in debug_error action and logging from
caught exceptions in users' error_controllers