Added a gauge class to dialog
corrected the handling of self.database
sets the default template correct
Fixed template string
Implemented a plugin system for import scripts
modified dndtools script to work with the new import plugin system