Catch HTTPErrors from urllib2 to properly handle API errors.
Update error test for api gets to reflect what the API actually does
Merge pull request #145 from ayust/non_2xx_responses

Catch HTTPErrors from urllib2 to properly handle API errors.