Update the Rack app to respond with errors.

Provide the same error response in Rack that the Rails engine uses.
Use the default locale file in the Rack app if I18n is loaded.