Wraps compiled dust templates into require modules that automatically require subtemplates