[#63989586] [#61922202] Made the folders list in DirectoryScanningMonitor thread-safe and added new events to notify clients when folders are added & deleted.
Modified directory scanning monitor tests to be more deterministic.