Initial commit of simple CI code

I have all the bits needed for a simplified distributed CI, but it doesn't yet run the tests. I have a few more hours work to get everything running as expected, but I thought I should check in some code by now.
It'd be better to calculate this port range based on runner_port and tries, since if this were real code, someone is bound to change one of the underlying variables and overlook this error message.