Use mixin class for UnitTestMerge and UnitTestSetCommitStatus

This commit allows to group tests into without running into errors while
unittest tries to instantiate an abstract class (see also
http://bugs.python.org/issue17519)