added function to create share with permission

possibility to create shares with multiple users and different
permissions on the share
Merge pull request #3 from smidi/master

added function to create share with permission