Support starting "git daemon" with custom --port argument

The motivation is to make it possible to run multiple instances of the
testing framework in parallel on the host system.  It also makes it
possible to run the testing framework on a machine that already has a
"git daemon" running.