Add isSelfOrAnsector and isSelfOrDescendant methods to utilities.
Created attachment 123100 [details] Patch
Committed r105409: <http://trac.webkit.org/changeset/105409>