Declares primary key as attribute in tests.

Otherwise, model.get('token') does not proxy through to _data.
Adds model to reference cache when id changes.

This allows Ember.Model to find the record by id later.
Merge pull request #250 from joyshieh/master

Updates reference and referenceCache when model primary key changes.