Fix sharing error message - id -> file name

fixe #2827
Merge branch 'master' into fix-sharing-code
pass the name of the item source from the browser to the server - no need to get the data via complicated db queries
also add new parameter to function calls
Merge pull request #5396 from owncloud/fix-sharing-code

Fix sharing error message - id -> file name