Adding 404 and 500 custom page error

Added a ExceptionUtil for adding custom 404 and 500 error pages.