Add support for custom templates in subdirectories

- Includes tests for templates and their application
- Implements https://github.com/rebar/rebar3/issues/58