Added function share_file_with_user(), class UserShare() and ...

...make use of constant OCS_SHARE_TYPE_LINK in share_file_with_link().
Fixed in commit e69ebc0107eb23bc90c14965c265710745ee754c