Very simple implementation of $dom.fn.closest() (tag name selectors only).