make previews work for shared files in the versions drop-down
Merge branch 'master' into versioning_preview_shared
remove debug output
Merge pull request #5301 from owncloud/versioning_preview_shared

versioning preview also for shared files