Improve FileActions JS to allow for custom rendering

This improves the OCA.Files.FileActions class to support passing a
"render" function in the action object.

The default function "_defaultRenderFunction" is used by default and
renders actions in the usual actions container.

Moved "Rename" and "Delete" to custom render functions.
OCS API for server-to-server sharing
Add right margin to codestyle file

Defaults to 120, we want 80 apparently
Add public api for mount configurations
Use the mount config api for files_external
Add requesttoken to base template

Potentially fixes https://github.com/owncloud/core/issues/12580
Fix permissions
Check for working .htaccess via AJAX

Fixes https://github.com/owncloud/core/issues/12650
Add unit test for contactsmanager
Use PHPUnit mocks
[tx-robot] updated from transifex
Merge pull request #12657 from owncloud/ajaxify-htaccess-check

Check for working .htaccess via AJAX
Remove unexisting `htAccessWorkinght`

Partially fixes https://github.com/owncloud/core/issues/12690 - remark to myself: improve grep skills.
Merge pull request #12394 from owncloud/files-fileactionsimprovements

Improve FileActions JS to allow for custom rendering
Add REST route for user & group management

First step of a somewhat testable user management. - I know, the JSON returns are in an ugly format but the JS expects it that way. So let's keep it that way until we have time to fix the JS in the future.
Merge pull request #12691 from owncloud/i-shall-improve-my-grep-skills

Remove unexisting `htAccessWorkinght`
Mock interface
Remove config file
Merge pull request #12452 from owncloud/server2server-ng-ocs

OCS API for server-to-server sharing
fix updated URL schema in JS unit tests