Better support for extension-handling in TemplateProvider.
Removes old undocumented support for subtemplate/snippet references via "." instead of now-standard "#"