Handle exprs in grouping sets
Hack ruleutils into some kind of shape, and allow GROUPING
arguments to be expressions not just column refs.

Unfortunately this required some changes to the Grouping node, since
get_rule_expr has no way to resolve sortgrouprefs to expressions.
In passing, fix up a lot of node-related issues in walkers and so on.