Delete memberships when deleting associated groups.
Remove all memberships where belonging group was deleted.
Merge pull request #310 from aboutsource/fix_deleting_memberships_on_workgroup_destroy

Fix deleting memberships on workgroup destroy