Add wrapping for AMD modules

This allows use of https://github.com/stefanpenner/ember-jj-abrams-resolver which can load templates from AMD modules instead of `Ember.TEMPLATES`