Removing user groups and permissions functionality

We no longer require user groups (opting for roles instead) and permissions (ACL implementation instead).

This merge will remove all of the groups and permissions functionality.