Bug 904574 - Make gtests log output after crashes compatible with TBPL; r=BenWa

--HG--
extra : rebase_source : 8162af561b3a8df81463b3aec733ac6cff55125a
Bug 904574 - Fix existing pyflakes warnings; r=BenWa

--HG--
extra : rebase_source : 27ca85f14ccbce6e5678292f6f5b22c4968801b5