Enforce a maximum tree depth of 800 in parse.c
Add test for tree depth limit to test/misc.lua