Added patch from ckung on github.com.

https://github.com/ebryn/ember-model/pull/296/files