Add test for Doctype
Add parsing for doctype
Fix infinite recurrsion in get_text_token

- Because `peek_str` works badly, I had to refactor `get_text_token`
  function to use `read_chr` and to avoid infinite recursion
Add correct parsing for DoctypeStart