Added basic dialog for showing and editing user permissions.
Added permission data framework.
Added user permission data framework.
Permissions are now sent via root.html.
Added list of permissions to the user permissions dialog.
Moved the isReadOnly flag from Permission to UserPermission.
User permissions are now set via root.js.
Added tests for new permissions stuff.
Added user permissions retrieval to get /users.
More tests pertaining to user permissions.
The user permissions dialog now shows correct user permissions.
Users can now toggw toggle user permissions (saving to come).
User is now able tto persist changes to user permissions.
Added tests for userPermissionRepository.js.
Added tests for tpermissions controller.