Bug 1023371 - Refactor mozcrash to seperate out the IO from the stack inspection, r=ted.mielczarek

This makes it compatible with structured logging.