Namespacing helper methods in TopNode

Created the following, with tests, in TopNode:

- hasNamespace
- getNamespace
- getNamespaces
- getNamespaceNames