[WIP] Add server<->server sharing

Add support for adding public links from someone to your own owncloud

Fixes #7221
I'm not familiar with CORS but if it's possible to do an ajax call to the target server I agree that it is a better approach.
It might not work in IE8/IE9 though: