Add '.' to valid container name pattern
DRY up valid container name pattern usage
Add container name validation test
Merge pull request #3253 from titanous/update-container-name-validation

Update container name validation