reduced code for the ':checked' resolver, test to avoid 'hasAttribute()' on XML documents (fail on IE9), added missing slash to 'reSplitToken', removed unused variable
reduced code for the ':checked' resolver, test to avoid 'hasAttribute()' on XML documents (fail on IE9), added missing slash to 'reSplitToken', removed unused variable

dperini/nwmatcher,dperini/nwmatcher,dperini/nwmatcher