Ignore port for trusted domains

This lead to a lot of confusion in the past and did not really offer any value. Let's remove the port check therefore. (it's anyways not really a part of the domain)

Fixes https://github.com/owncloud/core/issues/12150 and https://github.com/owncloud/core/issues/12123 and also a problem reported by @DeepDiver1975.
Add repair steps for legacy config files

Remove all ports from the trusted domains
add newline
Merge pull request #12154 from owncloud/ignore-port-for-trusted-domain

Ignore port for trusted domains
make sure that we don't find the wrong shares if a user and a group have the same ID
make sure that we only find the shares from the correct share type if users and groups with the same ID exists
only users can have a display name different from the id
Testcase base class
Do not use uniqid in Group and User tests as it is not unique on windows
Test LargeFileHelperGetFileSize also with ascii only characters

And skip the UTF8 names on Windows as they are not supported
Windows does not support CHMOD, therefor we can not test not writable folders

Conflicts:
	tests/lib/tempmanager.php
Skip some more tests on Windows which just can not work at all

Conflicts:
	tests/lib/archive/tar.php
	tests/lib/files/storage/local.php
	tests/lib/files/view.php
Fix single run of encryption tests and usages of uniqid() and fopen()

Conflicts:
	apps/files_encryption/tests/crypt.php
	apps/files_encryption/tests/helper.php
	apps/files_encryption/tests/hooks.php
	apps/files_encryption/tests/keymanager.php
	apps/files_encryption/tests/proxy.php
	apps/files_encryption/tests/share.php
	apps/files_encryption/tests/stream.php
	apps/files_encryption/tests/trashbin.php
	apps/files_encryption/tests/webdav.php
Make it possible to cleanPath() absolute Windows paths
Fix Files\Storage\Home::testRoot()
Correctly refresh the apps list after removing the mock
Correctly restore previous root mount point after testing

Conflicts:
	tests/lib/cache/file.php
	tests/lib/cache/usercache.php
Back to OC_Util::generateRandomBytes()
Simple fix for the wrong Mapper reset
use the new base class for share/share.php tests