Add a CLI command that deletes an LDAP config

With this change LDAP configurations can be managed completely from
the command line.
rework getFileSize
small fix
ok; still some bugs that had to be fixed
bugfixes
small fix
adding missing email address for principal

* fix #8515
* add mail only if it exists
Only mount the storages for the user once
Fix the "addHeader($tag, $attributes, $text)" methods to not ignore the $text parameter

Also support closing tags with no text content given

Conflicts:
	lib/private/template.php
Reset the users setup after clearing mounts
initialisation of cipher
get the source path and owner in a pre hook and the target path and owner in a
post hook
Fix typo
on xp'ed mode and switching configurations: save raw mode instead of toggling filter mode in tabs since their status is unknown and dealt with by the Wizard. Fixes #11848
Close session for files_trashbin

When restoring huge folders the interface will be unresponsive otherwise
Allow any outgoing XHR connections

Quickfix for https://github.com/owncloud/core/issues/11064
Fix stupid copy paste fail

...
Clear session after logout

Fixes https://github.com/owncloud/core/issues/8420
introduce sidebar for admin page
fixing ldap listing in admin sidebar - needs styling review