added missing tree type to group
cleaned some code
rearranged parameters in PermissionVoter
added UserGroups to PermissionVoter