Add support in matchesSelector for element.prototype.matches, which was introduced in Chrome 34.
(cherry picked from commit 650dbe5)