Updated code to Ember.js 1.0.0 and Ember Data Beta 1.