Changes to textTag and entity xpath

Now supports an array of textTags.
Now supports xpaths for documents with no default namespace.
Checks for null element in lookup

Stops #240 from completely breaking.