Initial commit of simple CI code. Not yet fully functional

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 should check in some code by now.