Implement the register function of OC\ContactsManager
$key is not needed for registering contactsmanager callbacks
Supply the contactsmanager object to the callbacks
camelCase vars in OC\ContactsManager
Merge branch 'master' into contactsmanager-register

Conflicts:
	lib/private/contactsmanager.php
Fix wrong var name
Add a resetadminpass command to console - fix #8248
Make ResetAdminPass to ResetPassword
Back to the future
Add doc, check return-value, fix spacing, require interactive
Fixed issues with renaming

- summary is now untouched on rename instead of bogus incrementation
- fixes "Share" status icon by only triggring "fileActionsReady" once
- row is now reinserted even when rename is cancelled, this removes the
  hacky/buggy code that tried to rename the element back
- added unit tests to cover the fixed cases
adding try/catch + switch to config object as provided by the server container
fix description of console command maintenance:repair - fixes #8574
only start migration if the encryption was initialized; allow to overwrite keys if no files exists
Merge branch 'master' into contactsmanager-register

Conflicts:
	lib/private/contactsmanager.php
no return on register and unregister
Fixed download URL in public page
Fixed JS issues in public page

- fixed subdir detection when uploading into subdir
- add class detection before overriding to avoid JS errors
use custom logfile path if defined, otherwise use default of owncloud.log in data directory
Changed access mode for Dropbox to 'auto'