Update the order of named properties on HTMLCollection objects

Update the order of named properties on HTMLCollection objects to match a
recent DOM specification fix:
https://github.com/whatwg/dom/commit/8b9338049201d075b1cae365562dfb40fe46d567

If an Element contributes both its id and its name, its id should always
precede its name when enumerating. This is more consistent with the HTML5 spec
and with the behavior of Firefox 27.

R=haraken, arv, tkent
BUG=341269
TEST=fast/dom/htmlcollection-enumerated-properties.html

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

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