merged 'isQuirks' / 'compatMode' and removed the latter since both are based on the same detection informations, moved and reordered blocks in feature testing removed commented code, applied adjustment needed to pass jslint
merged 'isQuirks' / 'compatMode' and removed the latter since both are based on the same detection informations, moved and reordered blocks in feature testing removed commented code, applied adjustment needed to pass jslint

dperini/nwmatcher,dperini/nwmatcher,dperini/nwmatcher