Simplify HTMLCollection predicates
auto merge of #666 : kmcallister/servo/htmldocument, r=jdm