Update code to work with latest ember.js

- using container instead of registerInjection
- update all tests