Added map_agg aggregation function

This PR implements the ``map_agg`` function (#2014) to aggregate key/value pairs into a single map.
Seems like `0` works fine, but what exactly is the ``outputChannelOffset`` argument?