Added 404 header in error response, now handles 404s in a SEO friendly way

Added a 404 header response to the error controller index method.  Modified the Application class to handle 404 errors without redirecting to a page.