inotify-reverter: add functionality to revert files based on inotify

The functionality will be used in pull, push etc. benchmarks where we want to
prevent rsyncing whole repositories again and again.
Status Job ID Name Coverage
  Test
failed #58366
tests-py2

02:58

 
Test tests-py2
 check the repos directory afterwards

ERROR: test-smoke-test.t output changed
!
Failed test-smoke-test-python3.t: output changed
Failed test-smoke-test.t: output changed
# Ran 11 tests, 0 skipped, 2 failed.
python hash seed: 3096161379
ERROR: Job failed: exit code 1