Made the hook inheritability use duck typing instead of comparison to Object before using the superclass hooks.
Made the hook inheritability use duck typing instead of comparison to Object
before using the superclass hooks.

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