Require space before commit hash

This excludes hashes in GitHub URLs, but those are harder to handle,
especially in a fixed way (not all of those URLs should be rewritten -
most of them should not be).
Make git-rev-parse more quiet

Avoid errors for commits not found.
Improve error/debug messages
Create error log where the server is run

Having it where the program runs turns out to be too inconvenient.