Send X-Docker-Endpoints header when validating the images upload with the index at the end of a push
Merge branch 'master' into postupload-endpoints-header

Conflicts:
	server.go
Merge pull request #868 from dotcloud/postupload-endpoints-header

- Registry: Send X-Docker-Endpoints at the end of a push