Added assignGroupIdsToUser() method to user model. Add and edit work consistently.
Minor edit
Merge pull request #2915 from obrignoni/2.3/fix-users-2

Added assignGroupIdsToUser() method to user model.