Add validators for hashmap

only partially completed.
Added type checking for hasher, key_eq, key_type