Fix the text() method
Merge pull request #126 from noisan/text-method-fix

DOMQuery::text() does not work as intended