Fixed some ember stuff

This PR is a WIP to help implement Ember support for the Spree backend