add path relative to the files folder of the currently logged in user to the output of getFolderContent()
fix infinite loop if folder and subfolder has the same name
Merge pull request #6898 from owncloud/encryption_infinite_loop

[encryption] infinite loop on sharing