updated for v1.4 of the REST API
Merge branch 'master' of https://github.com/appersonlabs/docker.io
updated example code