Get the cmssw-qa to actually work.

Now uses a ninja build file to actually run the jobs so that we can take care
of dependencies between different jobs and we can limit the amount of jobs
which run using valgrind.