add doc fragment/shadow dom (nodeType=11) $ support
$ fragment/shadow dom tests

- document fragments requires special handing w/o getElementsByClassName/TagName
document fragment fix for safari, comments

- Safari 8 DocumentFragment does not have getElementById, other browsers do
revert original testDollarWithDocumentFragment
Merge pull request #1036 from ohnnyj/fragment-context

DocumentFragment / Shadow DOM as $ Context

Fixes #1034