Parity with URI::NamespaceMap

Added list_prefixes and list_namespaces. I should have noticed them missing earlier.