Include response text and status in handleRequest hook

I wanted to check the responses that were coming back from pretender. This PR adds response text and status to the handleRequest hook i.e.

    handledRequest = function(verb, path, request, responseText, responseStatus){
    };

I had to move where the hook was called to after where the response is generated. I think the name of the hook implies that the request has already been handled so this makes sense.