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

...make use of constant OCS_SHARE_TYPE_LINK in share_file_with_link().
You mean like this a65e6f86592fe9105318ce4329b84c571d79aa7e?