index: fixed typo
moved _ended logic from parser to tokenizer
test: extended test cases
implement .pause/.resume in parser, fixed the implementation, added test
tokenizer: ignore unfinished tags in _handleTrailingData
tokenizer: fixed handling of empty numeric entities

eg. &#x;
test: added test for .resume() without any data written