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
Merge pull request #747 from caktus/bug-938184-cant_joinleave_groups_on_profile_edit

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