adding try/catch + switch to config object as provided by the server container
fix description of console command maintenance:repair - fixes #8574
use custom logfile path if defined, otherwise use default of owncloud.log in data directory
Add a method to get the values for multiple users to OC\Preferences
Add test case for getValueForUsers()
Move return to new line
Add a lot of users for testing
move the mount point up if a share is mounted to a subfolder and the subfolder no longer exists
Correctly create list of placeholders
Clean the database after the test
Merge pull request #8652 from owncloud/logfile_rotate

rotate custom logfile if defined
Merge pull request #8416 from owncloud/sharing_keep_mount_points_visible

[sharing] move the mount point up if the parent folder no longer exists
Add storage priority support

Each storage backend has a default priority, assigned to any system mounts
created in ownCloud. mount.json can be manually modified to change these
priorities.

The priority order is as follows:
 * Personal
 * User
 * Group
 * Global

Within each mount type, the mount with the highest priority is active.

The storage backend defaults were chosen to be the following:
 * Local - 150
 * Remote storage - 100
 * SMB / CIFS with OC login - 90
Treat 'all users' as 'global'

A mount applicable to all users is as good a definition of global as can be
Preserve priority if already set
Use more strict type comparisons
Use constants for priority type and add comments
Add unit tests
Fix priority merging logic and add unit test
Add priority overriding comments