BUGS
--------------------------------------------------------------------------------
* read dirwstat man page and check how mode is used and modify matcher_wstat
  accordingly
* test_wstat in test.rc produces following warning:
  WARNING(DEBUG_MATCHER, 
    "matcher_find_read_layer_each has file but can't open");
  is not a bug, but simply because not enough permission.

TODOS
--------------------------------------------------------------------------------
tasks:
  - Modify all assert to contain more information.
  - change all *_free functions to accept double pointer in order to set it to
    nil.
  - clean up @todo's in each file to reflect current situation
  - allow extra error message argument for test_assert and test_assert_false for
    printing out when the test fails.
  - find out if this works if original directory had a mount point somewhere,
    and add test to confirm.
  - investigate utf and rune compatibility. (also check lex file)
  - implement unary negate rule
  - implement glob rule
  - determine wstat should work like this: 
    - try wstat, if doesn't work then copy on write
    - try wstat again
  - move singlefilehandle and directoryhandle to their own .h .c files
  - document how each 9p operations are handled by fs in README
  - define style for assert, then fix all pointer assertions.

before stress test:

before release:

