Validate tag names similar to repository name validation; add tests
Addresses #7943

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
Merge pull request #7996 from estesp/7943-validate-tagnames

Validate tag names similar to repository name validation; add tests