make sure that the versions array contains the correct path
add unit test to make sure getVersions returns the correct result
Merge pull request #10186 from owncloud/versioning_fix_path

[versioning] make sure that getVersions() return the correct path