Fix api saving and rename routes model to rewrites in Ember.