On unload, remove record from has many arrays.
Merge pull request #339 from karenliu1/remove-has-many-record

Tests for deleting/unloading records in hasmany relationships.