$.closest Implementation

Here's an implementation of $.closest(selector) to bring the API closer to jQuery. Uses a similar method to $.parents(), but returns an array of length 0 or 1 appropriately.

However, this _does not_ support a jQuery (Cheerio) object to check against like the jQuery api. Just a selector.