Fix placement of detected_pointertypes update

This places 'detected_pointertypes[event.pointerType] = true;' code before any assertions to avoid test failures w/o getting pointertypes
Fix placement of detected_pointertypes update

This places 'detected_pointertypes[event.pointerType] = true;' code before any assertions to avoid test failures w/o getting pointertypes
Add missing code for detecting of pointer types
Merge branch 'submission/Microsoft/PointerEvents-FixPointerTypesDetectionPlacement' of https://github.com/InternetExplorer/web-platform-tests-msft into submission/Microsoft/PointerEvents-FixPointerTypesDetectionPlacement
fix duplicated code
Merge branch 'master' into submission/Microsoft/PointerEvents-FixPointerTypesDetectionPlacement
Merge master & resolve conflicts
Merge pull request #1319 from InternetExplorer/submission/Microsoft/PointerEvents-FixPointerTypesDetectionPlacement

fix pointer types detection placement. r=mbrubeck