Upgrade ember data
Add some js tests for polymorphism