gh-37790: Improve docstrings in `groups`
I parsed the `groups` module like a _robot_ and I edited the
docstrings. (e.g. 1-line outputs, self to ``self``)
### :hourglass: Dependencies
Depends on #37789.
URL: https://github.com/sagemath/sage/pull/37790
Reported by: gmou3
Reviewer(s): Matthias Köppe
Committer
Release Manager