improvemements to mctest, written _base_mcrunner abstract class and bug fixes to ptmc