CLN: expand groupby dispatch whitelist (GH5480)

- Create separate whitelists for SeriesGroupBy and DataFrameGroupBy objects
- Improve groupby whitelist testing
Merge pull request #5604 from gdraps/groupby-dispatch-part-2

Expand groupby dispatch whitelist (GH5480)