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)
this doesn't need to be called for everything in the range, just after the test has completed we log, just so the output isn't flooded with too much stuff