Simplify query/action rules in grammar.
Convert some exceptions to asserts.
Unparse NULL lowercase, fix typo in string scanning, add tests.
Add two trivial tests for BQL mistakes.