This provides an OWIN middleware that handles 404 status code by rendering either pre-built page or user-defined page.