Added global error handling for all network calls made by pkgcloud

Adds a global error handler to the pkgcloud client instance used by commands.
Fixes #14