Add the X-Docker-Registry header and /v1/_ping endpoint
Remove smart quotes. Add the X-Docker-Token header

Also fix the /layer endpoint, which had incorrect information
Fix Authorization headers
Fix copypasta errors
automatically remove container via -rm

add AutoRemove to HostConfig
add -rm flag to docker run
add TestRunAutoRemove to test -rm
docs: add -rm to commandline/command/run
add hostConfig to container monitor
make monitor destroy the container via -rm

This adds support for automatically removing a container after it
exits. The removal of the container is handled on the server side.
Merge pull request #2009 from kyleconroy/master

Improve registry and index REST API documentation
Merge pull request #1589 from unclejack/479-add_rm_support_to_docker_run

Add -rm to docker run for removing a container on exit