add getNamespaces method to NamespaceRegistryInterface

This is a BC break for PHPCR implementations, but a small one. I notice that we already added this method in the Jackalope implementation for convenience inside the library (and accidentally started using it elsewhere, too).

Its not strictly semver, but i propose to release this as 2.1.1, as our version naming follows the jcr standard. wdyt?