Remove phpass and migrate to new Hasher interface

This PR removes phpass and migrates to the new Hasher interface.

Please notice that due to https://github.com/owncloud/core/issues/10671 old hashes are not updated but the hashes are backwards compatible so this shouldn't hurt.
Once the sharing classes have a possibility to update the passwords of single shares those methods should be used within the newHash if block.
Added function to load translations from JS

For apps that support async translation loading, a new function
OC.L10N.load() can be used to asynchronously load the translations
for a given app.
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.

Conflicts:
	lib/private/request.php
Add repair steps for legacy config files

Remove all ports from the trusted domains

Conflicts:
	lib/private/repair.php
	lib/repair/repairconfig.php
Remove stray generateUrl
replace all static calls to OC_Config and OC_Preferences to calls to OCP\IConfig
replace double quotes with single quotes
Better use of promise in OC.L10N.load()
Use base class to reset the file mapper
Make apps/ extend the \Test\TestCase and fix overwritten methods
Make root tests extend the \Test\TestCase
Make remaining files extend the test base
Fix l10n promises
Remove delete button in shared with others list

Whenever a file is shared with others or with link, a delete button used
to be visible that triggered a direct deletion.

This button has been removed to avoid accidental deletion from people
who might believe it was an unshare button. Unsharing is still possible
inside the share dropdown.
JSHint fixes in sharedfilelistSpec unit test file
[tx-robot] updated from transifex
Merge pull request #12257 from owncloud/l10n-loadtranslationsfromjs

Added function to load translations from JS
Merge pull request #12253 from owncloud/port-12154

Port 12154
Merge pull request #12305 from owncloud/sharelist-nodelete

Remove delete button in shared with others list
cleanup languages. closes #11274