Correctly handle errors in /v1/images/{id}/layer.
Merge pull request #6 from mafintosh/missing-cb

Correctly handle errors in /v1/images/{id}/layer.