Bugfix: Previously the count returned by search_text_stream was not correct --- when a text stub is a duplicate of another one already in the ordered list, the ordered list (by default) will only keep the one with higher rank, but the total number of searched results should not change, but the previous implementation counted both.
Tests for searching including special characters added.
Add favor_newer argument to heap_push. No unittest added yet.
Add test_master_link.txt and test_no_master_link.txt.
Tests for favor_newer argument for heap_push added.
Supports for escaping special characters ((), [], {} etc.) added. Note that the escaping is only within Python; when used in terminal the parenthesis still need to be escaped from shells.
Unused variable clean up.
Add option to allow unknown type files be searched as text files, and this is set to default behavior.
Better explanation on flag --treat_unknown_as_text.