Add inner join

This adds a set of utilities that can be used to join ordered map and sets together like a SQL Inner join does.
Inapplicable to btree_set and bitv_set?