Robust tracking of quoted and unquoted attributes

Also update simple html tokenizer