Bug 960084 - Refactor mozrunner for a better class structure. r=ahal