Only overwrite serverHost when in unit tests

The intention of the original commit 12f7cb87679453fa96c796df857b7e7193d4ee09
was to fix tests. But cron should always return a valid host not localhost.
Only calculate the WEBROOT from scriptName if it contains $SUBURI

If not we are most likely in CLI mode. However to be able to still
generate valid URLs, we need to use the overwrite webroot instead.

Fix #9490
Add comment to overwrite* configs about CLI/cron problems
When changing the mountpoint of an external storage, ensure the old one is removed
Fixed dialogs styling, reversed buttons

Default dialog button is now on the right, other one on the left.
Improved external share dialog

Changed title, label and buttons.
Removed icon.
Do not show recipient for link shares in file list

In the "Shared with link" section, the share_with field can contain a
value when a password was set.

This fix prevents this value to be shown as it is not intended for the
end user.
Fixed shared list sorting

Use Array.sort instead of underscore's sortBy() as they don't use the
same method/function signature.
add ocsids to info.xml
Fixes #9497
Merge pull request #9501 from owncloud/shares-listsort

Fixed shared list sorting
Merge pull request #9494 from owncloud/issue/9490

[issues/9490] \OC::$WEBROOT is invalid when called from cron.php
Merge pull request #9415 from owncloud/external-sharedialog

Improved external share dialog
Merge pull request #9502 from owncloud/add_ocsids

Add ocsids for shipped apps in core repo
Merge pull request #9499 from owncloud/shares-hidetokenrecipient

Do not show recipient for link shares in file list
Merge pull request #9505 from stephane84/fix-9497

Refocus input field after user creation
Merge pull request #9495 from owncloud/remove-moved-mount

When changing the mountpoint of an external storage, ensure the old one ...
specify CSS rule for warning & update fieldsets - fixes #9491
[tx-robot] updated from transifex
Merge pull request #9506 from owncloud/fix-fielset-legends

specify CSS rule for warning & update fieldsets