Lexer implementation started.
More lexer states implemented
A bunch of new states added. God, this is a boring job, I tell ya =)
More lexer states implemented. Code reformatted to improve readability
Numerous bugs fixed. Constants for 'magic literals' added. Mooooore lexer states implemented.
New bunch of states. Now WHATWG version of specification used (nothing is changed actually except state numeration =))
Merge commit '4fe91f94b05733e5a2c04c6816057fe6a5c5b1d6'