Add support for custom templates in subdirectories

- Includes tests for templates and their application
Merge pull request #72 from rebar/template-tests-subdirs

Add support for custom templates in subdirectories