support self closing tags

`<tag attr=“moo” />`
strip whitespace after the self-closing tag
Merge pull request #1 from aliem/feature/self-closing-tags

support self closing tags