style: Stop allocating when lowercasing element names for lookup in the
hash.

31% win on selector matching.
auto merge of #1566 : pcwalton/servo/fewer-allocations, r=SimonSapin

hash.

31% win on selector matching.

r? @larsbergstrom