Fix for web.py

This is a fix for RequestHandler._handle_request_exception when the incoming is a twisted.python.failure.Failure that wraps a twisted.internet.defer.FirstError.