Fixed #18523 -- Added stream-like API to HttpResponse.

Added getvalue() to HttpResponse to return the content of the response,
along with a few other methods to partially match io.IOBase.

I only added the methods/changes mentioned by unaizalakain in https://code.djangoproject.com/ticket/18523. If you want to add the rest of the methods from `io.IOBase`, let me know, I'm happy to make it fully compatible. :D
If the response has been closed or the request has been completed?