Expand groupby dispatch whitelist (GH5480)

(and create a groupby dispatch blacklist)

closes #5480.