Support dzi xml with namespaces in Firefox

I'm embarrassed to say I didn't test the changes in #462 as thoroughly as I should have.  Apparently getElementsByTagName is namespace-sensitive in some browsers (Firefox) but not others.

This commit adds fallback logic to use getElementsByTagNameNS with the detected namespace from the xml when getElementsByTagName results in an undefined value or empty nodes list for the expected node or nodes.