emberjs/data — pull request #567 by ppcano (2012-12-31 16:47:12+00:00)
Title: Fix: unload record with relationships

- calling `clearRelationships` before changing record state,
otherwise fails because properties try to update removed
relationships

- Transaction commit failed when an unloaded record was in the
`transaction.bucketForType.updated` array. Using recordIsMoving fixed
this issue