Fix code style in tests
Fix `matches()` for orphan elements in IE 9

IE 9's vendor-prefixed implementation doesn't work on orphan elements.
Move the step that checks for orphans above the call to `vendorMatches`
to ensure that an orphan is always placed in a documentFragment first.

Fix gh-1
v1.0.2