Dont' use mountpoint permissions as share permissions for external storages
Keep the share permissions from mountpoints
Add unit tests
Merge pull request #10966 from owncloud/storage-root-share-permissions

Dont' use mountpoint permissions as share permissions for external storages