Added Hashed type for caching the 'hash' function result.

Supposed to save time spent on calculating hashes in lookups and other operations in `unordered-containers`.