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
only start migration if the encryption was initialized; allow to overwrite keys if no files exists
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
Changed access mode for Dropbox to 'auto'
Merge pull request #8637 from owncloud/enc_improved_error_handling

[encryption] improved error handling during password change
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