Replace use of NamespaceUtils

needs https://gerrit.wikimedia.org/r/#/c/167781/
Merge pull request #104 from Wikidata-lib/namespaceutils

Replace use of NamespaceUtils