doRequest can now take header map. PullImage now takes an optional AuthConfig.  Added AuthConfig struct
Merge pull request #47 from epipho/private-registry

Support pulling from a private registry
fix mock
Merge pull request #51 from vieux/fix_mock

fix mock
Add better error handling for PullImage