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=larsbergstrom

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