Smarter void and self closing tag handling

- xhtml will allow closing tags on void tags and will only evaluate
self closing tags like this: `<tag />`
- html will ignore closing tags on void tags and will not match closing
void tags
Merge branch 'master' into ST3