Parallelize test runs, and refactor to make things easier to read.

I can test 4 ubuntu releases in parallel in 3.5 seconds now.