Allow a config option to affect the scanner's ability to change the cache

This is different from the newly added "filesystem_check_changes" option, in that it still goes through all of the motions of the scan, but it does not alter the cache.  This allows apps that hook into the system (either via hooks or via a `Wrapper` class) to observe the scan when it is executed and act accordingly.