Fix PermissionsValidatorTest and improve PermissionsValidator
Merge branch 'dev' of https://github.com/alexhenning/wpi-suite-tng into dev