add support for coercion for hash that inherit from Hash
Merge pull request #231 from gregory/fix_issue_230_cant_coerce_hwia

add support for coercion on class type that inherit from Hash