add error handlers and error pages.
Merge branch 'feature/error-pages' into develop