Dirty tracking for hasMany relationship

My attempt to fix dirty tracking issues in hasMany relationship, I'm new to Ember Model, so this solution might not be perfect. Some test cases are from ebryn/ember-model#178