clear permissions cache when scanning a file

Conflicts:
	lib/files/cache/scanner.php
Merge pull request #5962 from owncloud/clean_permissions_cache_on_filescan

clean permissions cache on filescan