Update to ember 1.0.0-pre.4 and ember-data to master.

  - Update ember to version 1.0.0-pre.4
  - Update ember-data to recent master version
  - Adapt router to recent API changes.