Generates a list of templates for requirejs.  Could be used for any template walking.