Optimized HashMap. RawTable exposes a safe interface. (reopen)

This is #15720, rebased and reopened.

cc @nikomatsakis
Might be worth condensing all these impls' functions into one-liners? Unclear on the precise style guide.