Add AMD output option for handlebars templates.

Adds configuration options to output compiled templates to AMD format
instead of storing them directly on `Ember.TEMPLATES`.
Merge pull request #282 from rjackson/allow_module_compilation

Add AMD output option for handlebars templates.