Added PopulateFromHTTPResponse method on *Response

Also updated tests.
Extracted the files http.go and errors.go