Fixed issues with renaming

- summary is now untouched on rename instead of bogus incrementation
- fixes "Share" status icon by only triggring "fileActionsReady" once
- row is now reinserted even when rename is cancelled, this removes the
  hacky/buggy code that tried to rename the element back
- added unit tests to cover the fixed cases
adding try/catch + switch to config object as provided by the server container
fix description of console command maintenance:repair - fixes #8574
Fixed download URL in public page
Fixed JS issues in public page

- fixed subdir detection when uploading into subdir
- add class detection before overriding to avoid JS errors
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()
Merge pull request #8646 from owncloud/publicshare-fixes

[master] Fixed for public link page
Merge pull request #8612 from owncloud/share-updateshareiconsafterrename

[master] Fixed issues with renaming
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