refector hash structs to be reusable
Minor tidy up of hash structs. Added hash_stats() function and strhash table.
Pass key & len to hash_op instead of &entry. Add get_str_id.
Implement string ids to reduce output volume. Currently just for calls stream.