Verify that a file exists before we share it
add tests for sharing files the users doesn't have access to
Merge pull request #7780 from owncloud/share-file-exists

Verify that a file exists before we share it