Clean up the way we track whether we're in testing mode.
Start removing magic from git_utils.  Fix up concurrency test and add a lot of doc explaining what we're doing in there.
Update file operations test to reflect less magic nonsense in git_utils.
More test case simplification.
More test case simplification.
Restored init test.
Only webhooks left to fix.
Fix and simplify hook tests.