Fix commonjs export

With this pull request, we can now do something like:

```javascript
Ember.TEMPLATES = require('templates.js');
```