Some minor changes to the map object

Slightly speeds up generic for iteration, because why not. Also added
backwards iterator, in case anyone ever uses the insertion-order
properties of the map...