Fixed #23620 -- Used more specific assertions in the Django test suite.
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.

Thanks Claude Paroz for the suggestion and Nick Sanford for review.
Refactored URLValidator tests by moving URLs to text files.