Respond 404 status code when hander is not exist.

Default onHandlerNotFound method returns error page. But beyond
framework just needs 404 Response, because beyond framework will use
REST api only.

This patch makes server respond 404 status code without body when it
runs with production mode.