Stop including the element during Element.getElementsByClassName.

https://github.com/servo/servo/issues/3995
auto merge of #4030 : achals/servo/master, r=Ms2ger

https://github.com/servo/servo/issues/3995

This is my first PR, so please let me know if I'm doing something wrong!