Pass a JS<Element> to the callback in createHTMLCollection.
Rewrite Document::create_collection to work better with createNodeList.
auto merge of #1819 : Ms2ger/servo/createHTMLCollection-JS, r=jdm