TemplateLocator refactoring
- add composite/hierarchical path support
- also introduce ConfigurationAware interface