Bug 1026181 - Make mach terminal formatter work outside mach context, r=wlach

--HG--
extra : rebase_source : ac66edb9f80fc5fbebebb953ca15861a91095d4b