tokenizer: renamed several states

to be in line with the HTML5 spec