Remove user last group 11875 dev 5 0

To test, login as Admin, pick a user who is only in a single group, go to edit that group and try to remove the user from the group, save. Should get a reasonable error message.

--rebased-from #1935