Adding a "better-for-our-uses" hash implementation

This, AFAICT, fixes auto tracking on jruby, seems to still work on the
other rubies as well.