Add more tests and fix a bug

I've added format tests for HTML and Bash and count flag tests
and changed the matching tests to check the output correctly
and not according to the number of lines that have been generated
by the script.

Fix a bug in the Bash/HtmlMatcher classes:
If we create a SimpleMatcher instance and then wrap
it with the HtmlMatcher and then change the SimpleMatcher instance's
text style, then HtmlMatcher instance won't be aware of this
change. In order to fix that, I've created a private method that
check the SimpleMatcher text style and return a text wrapped
with the style-decoration. This is bad for the performance but
fixes the bug.

Make the code more PEP8 coding-style.