Add support for templates in the app/ directory

Fixes issue with #1238 where any templates in the app tree (eg. "pods") no longer work.