[WIP] Add server<->server sharing

Add support for adding public links from someone to your own owncloud

Fixes #7221
@georgehrke at some point I think previews should be deleted on such hooks as well