Make aggregations combinable and remove AVG aggregation
Fix hash partitioning for new java api
Fixed RecordOutputEmitter and extended OutputEmitterTest for hash corner cases