add self-closing tag tests
fix parsing of trailing slashes in self-closing tags

Should resolve substack/html-select#6