Checkstyle & stuff

Reduce duplication with TmcJunitRunner. Move stuff to superclass.