Add docstrings for a couple new methods in the tokenizer.
Add a number of new tag tests.
Pass some tests by simplifying the way tags are read from the stack.

Two still fail because templates aren't implemented yet, but those
are otherwise handled correctly.