Moved the default template definition into an .ini file and set up
static initialization to make sure it gets loaded (Singleton). Fiddled
with test cases, doc comments, added some examples. Fixed typo in unit tests
where test dependencies were not being handled correctly.