Bug 940637 - part 0 - add helper function for getService magic; r=jmaher
Bug 940637 - part 0b - add a license header and editor modelines to MemoryStats.js; r=jmaher
Bug 940637 - part 1 - add dump options to runtests.py and propagate to mochitests; r=jmaher
Bug 940637 - part 2 - update TestRunner.js to understand new dumping options; r=jmaher
Bug 940637 - part 3 - change MemoryStats.dump to dump about:memory and DMD if instructed; r=jmaher
Bug 940637 - part 4 - add mach options for dumping about:memory and DMD logs; r=jmaher