getNodes() now returns a new NodeIterator instance on each invocation

- This will make it possible for iterating multiple times a node hierarchy.