Fix deleteMember method

- add new method getMemberDirectGroups
- use getMemberDirectGroups in method deleteMember
Merge pull request #362 from stavamichal/fixDeleteMemberMethod

Fix deleteMember method