Updated to use Object#equal? instead of comparing object_id
Updated to use Object#equal? instead of comparing object_id

ar-dm/ardm-core,tpitale/dm-core,engineyard/dm-core,datamapper/dm-core,alloy/dm-core,tillsc/dm-core