traverse folders in php to search in shared files
add test for search() in shared cache
Merge pull request #10287 from owncloud/fix_search_in_shared_files_stable7

Fix search in shared files stable7