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.