Rewrite and improve test coverage for GroupsController.
Split up large GroupsController#index method.
Simplify member_of logic a bit.