Refactor groups controller to match EE
requested to merge 4761-follow-up-from-resolve-developers-should-be-able-to-create-new-projects-in-group into master
Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/4761
backstage change, no changelog needed