Add a port of Mozilla's tests for Element.closest.
Merge pull request #1244 from w3c/jgraham/element_closest

Add a port of Mozilla's tests for Element.closest.