Fix, publish and rename whatwg::get_encoding

See individual commit messages.