Better groupby performance with merge/reduce_by_key
Removed Boost referencies