#651 - Handle deleted users

User should left all his groups when deleting account.
#651 - Fix NPE when user in a group is deleted
Merge pull request #652 from jchampemont/master

Handle deleted users