added an extra fallback method to isDisconnected() for browsers missing both .compareDocumentPosition() and .contains() in case one exists (jdalton)
added an extra fallback method to isDisconnected() for browsers missing both .compareDocumentPosition() and .contains() in case one exists (jdalton)

dperini/nwmatcher,dperini/nwmatcher,dperini/nwmatcher