js/snitch.js: Fixed weakness of module to identify a directory by implementing recovery mechanism in case of error
js/dirTracker.js: Removed dead code(unused variable)
js/mover.js: Use only on instance of dirTracker to register directories. Now works even if there are no files to be transferred during the initial registration
js/dirTracker.js: Moved all logic for tracking dirs into the dirTracker module. Mover.js module doesn't implement any functionality related to tracking dirs