widget.dart fixes

Specifically, query selectors need to use "[is=x-foo]" instead of "x-foo" and
components cannot be assumed to subclass UnknownElement.