Move user-emacs detection into function
Merge file/directory deletion functions
Unify temp dir/temp file handling

Let's treat directories and files as the same, and remove some code
duplication.
Do not allow missing checkers on test systems

On Travis CI and on our testing VM we absolutely expect all checkers to
be present. A test failure caused by a missing checker thus indicates a
provisioning failure that should not go unnoticed.