[WIP] Add server<->server sharing

Add support for adding public links from someone to your own owncloud

Fixes #7221
You should also catch exceptions here and return false.
There were cases where I clicked "Save" in the UI and nothing happened at all.
Strangely there were no errors in the log either, so not sure whether catching exceptions here will help.