Tweak debugging in parser and lexer
Use stdbool in tree.h
Add tests for editing all language examples

This drove out several fixes to the incremental parsing algorithm.
There are a few examples which still don't work and which have
been explicitly excluded, for now.