NULL out pointers on free.
Fix some clang static analyzer bugs.
Generalized the stack framework.

Now I can use it to keep track of orphans in addition to clearing the tree.
Possibly fixes #43.
Switch orphan tracking to generalized stack framework.
Fixed clang bug
Fix memory leak, change tested compilers in README
Merge branch 'master' into feature/aol-rewrite