Add a responseHooks option that allows the user to process the response
of an API call.
The responseHooks option is an object where key is an operationId and
value is a function that receives the XHR response object and the
OperationView object.
Use case: process authentication requests done with the "Try out!"
button to inject apiKey in the AuthView and the router on success.