Fix Tag Test for longer tags

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Merge pull request #8463 from jfrazelle/fix-invalid-tag-test

Fix Tag Test for longer tags
Deprecating ResolveRepositoryName

Passing RepositoryInfo to ResolveAuthConfig, pullRepository, and pushRepository

Moving --registry-mirror configuration to registry config

Created resolve_repository job

Repo names with 'index.docker.io' or 'docker.io' are now synonymous with omitting an index name.

Adding test for RepositoryInfo

Adding tests for opts.StringSetOpts and registry.ValidateMirror

Signed-off-by: Don Kjer <don.kjer@gmail.com>
gofmt changes

Signed-off-by: Don Kjer <don.kjer@gmail.com>
Fixing search term use of repoInfo

Signed-off-by: Don Kjer <don.kjer@gmail.com>
Adding integration tests for registry mirror configuration

Signed-off-by: Don Kjer <don.kjer@gmail.com>
First pass at adding --force-fully-qualified

Partial cleanup of job policy flags and configuration.  Created resolve_repository job

More cleanup of registry policies

Deprecating ResolveRepositoryName in favor of ResolveRepositoryInfo

Passing RepositoryInfo to ResolveAuthConfig, pullRepository, and pushRepository

Renaming registry/policy.go to registry/config.go.  Moving --registry-mirror configuration to registry config

Adding Server: prompt to login

Querying daemon for fqn command restrictions on login

Fixing issues with RepositoryInfo.Resolve()

Renaming official index: index.docker.io => docker.io

Removing 'Hostname' from RepositoryInfo
Adding test for ValidateFullyQualifiedCmd