Fixes Enforce Host for Paths that Don't Match Routes
Moves enforce host logic from
Workarea::ApplicationController to a new middleware,
Workarea::EnforceHostMiddleware, to avoid depending on Rails routing. Adds new config skip_enforce_host to allow skipping enforcing host.
Returns Soft 404 for Searches with No Results
Changes the HTTP status code for searches with no results from 200 OK to 404 Not Found, as recommended by Google.