Restrict columns in group by dialog to groupable columns

https://www.openproject.org/work_packages/8246