Change the error middleware to squash URL unicode errors

This is a temporary solution since webob doesn't seem to handle
bad binary data in the URL. This returns a bad request response
early in the stack to avoid this. Looking for better solution.
Unwind some of the exception catch higher in the stack