Unit test for bug #6609 (Fast file replacement operations can be missed)

Enhance MockFileSystemImpl to allow artificially delaying watcher
notifications in addition to delaying normal callbacks.