Dead code elimination
Fix find_bugs() + add unit tests.

find_bugs() returned incorrect results when there was only one group to
match in the bug regex.
Update README