* fixing switching of languages (caused JS errors) (please review)

I think commit c938d8c8 broke the ability to switch languages (possibly only for anonymous users), doing so raises an exception: Assertion failed: You must pass a record into transaction.add() 

Included is an attempt to resolve the problem, however as my knowledge of ember-data is lacking feel free to replace it with a better solution.