groups: possible solution to 8a1aae3 (fixes groups permissioning)
groups: bug-fix to private party invitation
groups: group-leave bug fixes (most things have to be static-bound, when somethign is deleted it causes errors on dom listeners). also make second-most-recent-member the new leader if the leaver is leader