Added ground work for OC.Share unit tests
Merge pull request #8567 from owncloud/test-ocshareunittests

Added ground work for OC.Share unit tests