make sure that the users file system is initialized before we emit the post hook
make sure that we re-load the file system after the quota was set
Add flock to config

This adds a file lock to the config in hope that this prevents race conditions as reported in https://github.com/owncloud/core/issues/11070

Testplan:

- [ ] Delete config.php and make it read-only => Error is thrown that it is not writeable
- [ ] Installation still works
- [ ] Changing config settings works (i.e. using the SMTP config switches in the administration menu)
- [ ] Your PC didn't blow up
- [ ] Installing the news app and the "Disable AppCode checker" app did not destroy your installation

Only skip the main config

Otherwise read only additional configs might not be processed

Test on tmpdir
Use SVG previews for public sharing

Fixes https://github.com/owncloud/core/pull/11367#issuecomment-57306037 and https://github.com/owncloud/core/issues/9218
Redirect only to absolute URL

We do not want to redirect to other domains using the "?redirect_url=" feature. Please notice, that the ownCloud project does not consider open redirectors as security issue.
Fix AmazonS3 rmdir on the root
Fix amazon s3 rename overwrite
Fix copy overwrite for amazon s3
Skip test for unsuported feature for amazon s3
Merge pull request #11364 from owncloud/fix_unit_test_oc7

make sure that the users file system is initialized before we emit the post hook
group shares and combine permissions
unit tests for grouping of shares pointing to the same source
generateTarget() will always find a unique target
fix add user to group to work with grouped shares
mark exclude list as deprecated. It neither used by the files app nor by the
calendar or contacts app. It doesn't make sense to build a exclude list by the
share API, the apps knows best which are valid targets.
fix unit tests
only add a new row if it isn't a unique share, otherwise update the existing row
clear share table after each test run
some small fixes
always select permissions, used in getItems()