LPS-41870

Hey Sergio, it seems that a change that already rejected long time ago somehow found it's way into 6.2. Getting all folderids to get search results from subfolders it very inefficient and now that TreePath is there totally unneccesary. I added a flag to QueryConfig to indicate that we want to search subfolders so that CMIS, Documentum and other repository implementations can generate a more intelligent query. I just wanted you to check this through that it still works as intended which it does based on my testing. I'll send the Documentum plugin changes separately once this is in.