Handle unknown tags by Parser. Also add some tests.
Make Token::test() stricter.
Cleanups, remove tag name from EXPRESSION_START tokens, precompute some pattern lengths.