Implement GROUP BY for fields

For now, we still assume that no select fields need to be computed up-front.
Give aggregate expressions access to the group key