Refactor out common error handling
Use error base to display accessible error message
Create hook for plug-ins
Fix tests
Merge pull request #1427 from opf/feature/4222_no_flash_message_on_status_page

[Fix] 7700 no flash message on status page