Revised getGroupsPure for bPermissions so that it does not return the "default" group.
Revised getGroupsPure for bPermissions and PermissionsEx to handle a list length of zero and to reduce multiple ifs into a single compound if.