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

traverse folders in php to search in shared files