[WIP] Add server<->server sharing

Add support for adding public links from someone to your own owncloud

Fixes #7221
Do a sanity check whether status.php returned a JSON array expected by ownCloud - could also be a 404 etc...