Fixed quota wrapper to return the value from flock()
Don't update the mtime if the storage mtime hasn't changed
table files_trashsizes was still used in some locations -> removed
fix size and unbold empty content message
Fix uit tests
Remove legacy routing code

The getfile routing code was absolutely legacy and not needed anymore. Additionally \OC::$REQUESTEDAPP was never set to the actually accessed application.

This commit removes the legacy routing code and ensures that $REQUESTEDAPP is always set so that other applications (e.g. the firewall or a two-factor authentication) can intercept the currently accessed app.

Testplan:
[x] Installation works
[x] Login with DB works
[x] Logout works
[x] Login with alternate backend works (tested with user_webdavauth)
[x] Other apps are accessible
[x] Redirect on login works (e.g. index.php?redirect_url=%2Fcore%2Findex.php%2Fsettings%2Fapps%3Finstalled)
[x] Personal settings are accessible
[x] Admin settings are accessible
[x] Sharing files works
[x] DAV works
[x] OC::$REQUESTEDAPP contains the requested application and can be intercepted by other applications
Move authentication to it's own call
Add method to get users by their preference
Hack around oracle for CLOB fields
Dont overwrite OCA.Sharing
Merge pull request #8890 from owncloud/cleanup-trashsizes-table-master

table files_trashsizes was still used in some locations -> removed
Merge pull request #8894 from owncloud/public-share-js-overwrite

Dont overwrite OCA.Sharing
Merge pull request #8866 from owncloud/flock-quotafix

Fixed quota wrapper to return the value from flock()
Merge pull request #8889 from owncloud/mtime-reuse

Don't update the mtime if the storage mtime hasn't changed
fix files multiselect bar now that the app list is gone
Sort the result before comparing
Merge pull request #8529 from owncloud/remove-legacy-routing

Remove legacy routing code
Merge pull request #8897 from owncloud/fix-multiselect

fix files multiselect bar now that the app list is gone
improve share settings working
This settings doesn't belong together

Revert "make reshare settings foldable"

This reverts commit c01f196f723dcb3dea6947c821a70d4d80563bbd.

Conflicts:
	settings/templates/admin.php