improved error message to reflect the case when the app was re-eanbled during the session
backport autoloader magic trying to find class in lib folder
add searchByMime to public api
Check variable type before using readdir to avoid surprises and fix #4667 #4658 and #4613
fix unknown var in if clause
Merge pull request #4693 from owncloud/encryption_improved_error_messages_stable5

Encryption improved error messages for Stable5
Merge pull request #4699 from owncloud/stable5_autoloader_try_lib_folder

Stable5 autoloader try lib folder
Merge pull request #4700 from owncloud/stable5_ocp_files_searchbymime

Stable5 ocp files searchbymime
one check is enough
Merge pull request #4701 from owncloud/fix_4667

Always check variable type before using readdir to avoid surprises, fixes #4667 #4658 and #4613
5.0.11 RC2
Merge branch 'stable5' into fix_4533
remove some more debug output