Bug 1040418 - Fix flake8 warnings & comment typos in parsers.pyx; r=camd

Fixes the following warnings:
treeherder/log_parser/parsers.pyx:217:31: E201 whitespace after '{'
treeherder/log_parser/parsers.pyx:221:1: E302 expected 2 blank lines, found 1
treeherder/log_parser/parsers.pyx:228:5: E303 too many blank lines (2)
treeherder/log_parser/parsers.pyx:249:24: E222 multiple spaces after operator
treeherder/log_parser/parsers.pyx:254:25: E125 continuation line with same indent as next logical line
treeherder/log_parser/parsers.pyx:264:51: E231 missing whitespace after ','
treeherder/log_parser/parsers.pyx:275:9: E126 continuation line over-indented for hanging indent
treeherder/log_parser/parsers.pyx:277:5: E121 continuation line under-indented for hanging indent
treeherder/log_parser/parsers.pyx:328:1: E302 expected 2 blank lines, found 1
treeherder/log_parser/parsers.pyx:350:9: E265 block comment should start with '# '
treeherder/log_parser/parsers.pyx:362:1: E302 expected 2 blank lines, found 1
treeherder/log_parser/parsers.pyx:375:32: F841 local variable 'e' is assigned to but never used
Bug 1040418 - Move log error terms containing regex out of the simple substring list; r=camd
Bug 1040418 - Remove unnecessary (and broken) escaping from substring search terms; r=camd
Bug 1040418 - Sync log parser regex with recent TBPL additions; r=camd

The treeherder equivalent of:
https://hg.mozilla.org/webtools/tbpl/rev/03d9ff82b54a
https://hg.mozilla.org/webtools/tbpl/rev/9941c86059cb
https://hg.mozilla.org/webtools/tbpl/rev/c6d684e3be13
https://hg.mozilla.org/webtools/tbpl/rev/611685ea448d
https://hg.mozilla.org/webtools/tbpl/rev/ae716547090e
Bug 1040418 - Clean up log parser regex expressions; r=camd

* Switch uses of "[0-9]" to "\d"
* Switch uses of "[ ]+" to " +"
* Remove unnecessary escaping