Raise HTTP errors if they are not API errors.

When we're unable to parse an XML API error from the response body,
check to see if the response had an HTTP error code, and if so,
raise the HTTP error instead of raising a ParseError.

Fixes #180.