added response body to response object in onResourceReceived event

added response body to response object in onResourceReceived event

https://github.com/ariya/phantomjs/issues/10158
I wonder if here could be an option here for capturing content by MIME type. I.e., I would prefer to specify only loading body for "application/json" requests. My use case for this feature was being able to snoop on server responses, not so much being able to read individual files.