Changed the tag parsing to it will work even if there is a port in the repos registry url (full qualified name for pushing on a standalone registry)
It is now possible to include a ":" in a local repository name (it will not be the case for a remote name). This adds support for full qualified repository name in order to support private registry server
Re-implemented a notion of local and private repos. This allows to consider the full qualified name of the repos as the name for the local repository without breaking the calls to the Registry API.
Fixed typo (thanks unit tests)
Moved parseRepositoryTag to the utils package
Removed DOCKER_INDEX_URL
Fixed potential security issue (never try http on official index when polling the endpoint). Also fixed local repos name when pulling index.docker.io/foo/bar
Merge branch 'master' of github.com:dotcloud/docker into standalone_registry
Fixing missing tag field when pulling containers which does not exist
Fixed tag parsing when the repos name contains both a port and a tag
Hardened repos name validation
Merge pull request #1168 from dotcloud/standalone_registry

* Server: Allow push on standalone registry