fix selection in document context
Merge pull request #25 from eldargab/doc-sel

fix dom('.foo'), i.e. selection in the document context