XLIFF Parser fails for xliff 1.2

The xliff code should check the first node for various namespaces (not
just 1.1), at least if translate tries to claim 1.2 support (which it
does, according to the TC xliff support survey).

Fixes bug 2948.
Add unit test for the previous commit