[WIP] Add server<->server sharing

Add support for adding public links from someone to your own owncloud

Fixes #7221
The CORS header alone in status.php isn't enough due to

    Refused to connect to 'http://localhost/owncloud/status.php' because it violates the following Content Security Policy directive: "default-src 'self'".