Fixed array detection on public download

When downloading a folder called "0001" PHP should fallback to parsing
it as string and properly detect that it is not a JSON array.
Unset the cached active user when using a different session object
Close session when loading apps

Otherwise the session is blocked while all remote apps are loaded. This can be very annoying especially when apps.owncloud.com is down or not reachable.
distinguish between file dependent shares and other shares
Retrieve storage numeric id earlier when still available

The numeric id is only available before the storage entry is deleted, so
get it at that time.
Add unit test
Merge pull request #11537 from owncloud/filenamewithzeroes

Fixed array detection on public download
Merge pull request #11542 from owncloud/fix_failing_unit_tests

distinguish between file dependent shares and other shares
Allow specifying protocol in ext storage OC config

Allow specifying a protocol in the host field when mounting another
ownCloud instance. Note that this was already possible with the WebDAV
config but this bug made it inconsistent.
Merge pull request #11546 from owncloud/users-deletewithfilecache

Retrieve storage numeric id earlier when still available
Merge pull request #11543 from owncloud/closeSessionForAppsLoading

Close session when loading apps
Set overwritemailurl* configs on setup

Correctly use overwritemailurl value when generating absolute urls in CLI

Fix #11500

Rename the config to *cli

Add overwrite.cli.url to the sample config

Revert separator fix, fixes unit test
adding cache control headers for css and js - fixes #11496
[tx-robot] updated from transifex
Merge pull request #11534 from owncloud/issue/11500

Issue/11500 Do not set overwrite* settings by default
Merge pull request #11556 from owncloud/cache-js-and-css

adding cache control headers for css and js - fixes #11496
[tx-robot] updated from transifex
Use body element when animating scroll in public page

In the public page the scroll container is the window instead of a div.
The $(window) object doesn't support animating the scroll property, so
the $('body') element is used instead.
Merge pull request #11590 from owncloud/publiclinkscrollanimatefix

Use body element when animating scroll in public page
Merge pull request #11548 from owncloud/extstorage-ocfields

Allow specifying protocol in ext storage OC config