Add Element.matches() method.

See https://developer.mozilla.org/en-US/docs/Web/API/Element.matches