Added all self-closing tags.
Added doctype class
Robustified tag closing match
Fixed define-tag-dispatcher
Added read-tag-contents
Added proper doctype handling