Fix Docker::Image.create

The credential-header-logic was a bit off, this commit fixes it and adds
a test.
Merge pull request #110 from swipely/send-headers-on-create

Fix Docker::Image.create