Fix widget.dart to work with the latest web_ui library.
Specifically, query selectors need to use "[is=x-foo]" instead of "x-foo" and
components cannot be assumed to subclass UnknownElement.