update for the 1.0 alpha for ember data
Update sample code to work with Ember Data 1.0 alpha