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
failed #58366


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