If building AMD modules, and only one template is being compiled,
return the compiled template from the AMD module
If building AMD module and compiling multiple templates, return the full
templates (or partials) hash from the AMD module
Merge pull request #488 from tnwinc/amd-module-return-values

Amd module return values