DeleteTemplate deletes the associated template database

This fixes #51