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

...make use of constant OCS_SHARE_TYPE_LINK in share_file_with_link().