python: support By(t, t, t.reduction())

Previously we expected the grouper to be a projection.  Now we allow it to be
any rowfuncable
Merge pull request #354 from mrocklin/by-of-tablesymbol

python: support By(t, t, t.reduction())