Project on fields before groupBy.
Really do the optimization.
Init with groupFields. Handle scanLeft and sortBy.
Remove isBuferrUsed.
Merge pull request #475 from twitter/klin_speed_groupby

Project on input fields before groupBy.