Deprecate passing responses to PbError#to_response

Since PbError#to_response has supported passing a response object, we
can't just change that in a minor release. Instead, make it optional and
print a deprecation warning.