Measure code coverage for the githook background service

The original changes in r/92 adding code coverage measuring ended up
broken; the modified background/githook.py was added as a new file since
the real one had been renamed src/background/githook.py in the meantime.

Note: this commit adds coverage measuring superficially differently.