add ability to create templates from the CLI

This replaces the `test-db-upload-template` command with `test-db-template-create`.  I'll have additional changes in separate pull requests but this get's the basic ability of creating templates going under the new technique.