Bug 938184 - User cannot join or leave groups while editing profile

This goes beyond the previous commit for this bug, which only
prevented creating new groups while editing the profile. This
changes the groups control on the edit profile page to just
a list of links to the groups the user belongs to.

Fix bug 938184