Adding plain struct for hash_map template instantiation.
Switching to multimap for hash iterator_map, added in compat/hash_map.h.
Still internal compiler error with g++-4.8
Fixing signed conversion warnings in tests.