Allow more special characters in html attribute names

See https://html.spec.whatwg.org/multipage/syntax.html#attributes-2, #567
more tests