IDL compiler: [NamedConstructor] arguments

This finished [NamedConstructor], and with it the main work of the IDL
compiler rewrite!

This mostly reuses existing [Constructor] logic, so Python in short.


I noticed two inconsistencies or two in exception raising:
failedToConstruct vs. failedToExecute and the name.

I've fixed this in the other CL:
IDL compiler: fix inconsistent constructor exceptions
https://codereview.chromium.org/114673006/

The logic is a lot clearer in the Jinja templates than in the Perl code,
so in this CL I've matched the Perl;
followup is primarily slightly messy Perl, and test result changes;
only Python change is removing overrides so behavior
falls back to being consistent.

BUG=239771
R=haraken
NOTRY=true

Review URL: https://codereview.chromium.org/116803006

git-svn-id: svn://svn.chromium.org/blink/trunk@164043 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Handle missing reference files instead of crashing when copying them to the results dir.

This was discovered when trying to import various w3c tests, which appear
to have non-utf8 reference files and/or missing references in some places.
We should get those fixed, but we should also not crash the harness.

R=ojan@chromium.org, abarth@chromium.org
BUG=329113

Review URL: https://codereview.chromium.org/93883005

git-svn-id: svn://svn.chromium.org/blink/trunk@164044 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: [SetReference]

New extended attribute, Python side to:
Reland: Reland: Implement new Blink IDL attribute [SetReference]
https://codereview.chromium.org/26792002

* Needed minor parser changes b/c using arguments:
[SetReference(A a, B b)]
* Also some test refactoring due to conflicting extended attributes.

BUG=239771
BUG=307341
R=haraken, kouhei
NOTRY=true

Review URL: https://codereview.chromium.org/114813006

git-svn-id: svn://svn.chromium.org/blink/trunk@164045 bbb929c8-8fbe-4397-9dbb-9b2b20218538