adds mergeLookup to MapAlgebra

Closing #51. This is useful for Summingbird's client generation, and is just a nice, tricky function, generally useful when building up maps.