Add a real Makefile
Test the tokenizer using html5lib-tests
Fix doctype EOF handling
Emit parse errors for bad end tags
Handle lookahead at EOF
Add more debug prints in the tokenizer