Allow Document::setDebug to take a numeric flag

Zero means no debugging, one (or true) means parse debugging, a
number greater than one means parse and lex debugging
Bump tree-sitter core for unicode character tracking