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
Merge pull request #2009 from kyleconroy/master

Improve registry and index REST API documentation