Fix an issue where the 'remove' method of the 'hasMany' relation is not checking for the id of the calling model instance.
Add test case for 'hasMany.remove' fix.
Merge pull request #306 from hbj/fix_hasMany_remove

Fix 'remove' method of 'hasMany' relation