Except HTTPError for puppetdb  error feedback

Added a large net for  requests.exceptions.HTTPError exceptions to catch
errors raised by the puppetdb api server.

It will log the raise_for_status() exceptions into the log buffer for
debugging errors.
Merge pull request #23 from daniellawrence/master

Except HTTPError for puppetdb  error feedback