Fill in example code for HashMap.

Add an example showing how to use the map with a custom type. Fill in
examples for methods  without ones.

Also move `pop_equiv` next to related public methods, to not create a
duplicate trait in the docs.
This in general applies to all the examples down below as well, once you've hinted the type of a literal once all the others are determined.