[WIP] Add server<->server sharing

Add support for adding public links from someone to your own owncloud

Fixes #7221
Add the basic checks:
```php
OCP\JSON::checkAppEnabled('files_sharing');
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
```