Add a CLI command that deletes an LDAP config

With this change LDAP configurations can be managed completely from
the command line.
adding missing email address for principal

* fix #8515
* add mail only if it exists
get the source path and owner in a pre hook and the target path and owner in a
post hook
Fix typo
Close session for files_trashbin

When restoring huge folders the interface will be unresponsive otherwise
remove unnecessary require calls - the ownCloud class loader is supposed to take care of this
Clear session before setup

Fixes https://github.com/owncloud/core/issues/11861
Merge pull request #11876 from owncloud/remove-pointless-requires

remove unnecessary require calls - the ownCloud class loader is supposed...
Merge pull request #9044 from owncloud/add-missing-email-principal

adding missing email address for principal
Add CodeClimate indicator
Merge pull request #11888 from owncloud/add-code-climeate

Add CodeClimate indicator
fix files_external storage id migration
test files external amazon s3 storage id migration
don't move versions if only the mount point was renamed
fix odd behaviour
Merge pull request #11894 from owncloud/fix-unreachable-code

fix odd behaviour
[tx-robot] updated from transifex
Enhance question in DB migration script
[tx-robot] updated from transifex
[tx-robot] updated from transifex