Use ember-template-compiler paired with Ember.

Removes horrible duplication, and requires Ember 1.10.0-beta.2 or later.