Use Web IDL to construct custom element constructors
Use Web IDL to construct custom element constructors

Fixes part of https://github.com/whatwg/html/issues/2381. The other
part is covered by https://github.com/whatwg/html/pull/2457.

Tests: https://github.com/w3c/web-platform-tests/pull/5208
ayg/dom