Pass template name instead of id when creating a database from a template

This way we don't expose IDs to the user
Pass database name instead of id when creating a template from a database

This way we don't expose IDs to the user
Merge pull request #49 from brummett/use-names

Use names instead of IDs when creating templates and databases