Changed getOrganisationsByUserRole, getUserOrganisationto support getting the child organisations by user/role, and to get a single organisation and the user's role in that organisation.
More changes based on breaking 1-1 link between organisation and workspace folder. Some organisations don't have workspaces. Also tuned the method that checks membership access to a folder to take subfolders into account.