feat: Write self-closing tags with a />

Adds tests for self-closing tags both for correct writing and for correct
sanitization, i.e. stripping attributes on them.
Merge pull request #76 from mprobst/self-closing

feat: Write self-closing tags with a />