Implement custom element construction and some 'define' checks

BUG=594918
TEST=LayoutTests/custom-elements

Review-Url: https://codereview.chromium.org/1952893003
Cr-Commit-Position: refs/heads/master@{#393469}
26 files changed