pull hashtel logic out of String

This will make it easier to only require the module without
any monkey patching