Fixed Hash#try_convert implementation.

And moved core extensions to core_ext.rb file.