Indexing of NodeSet instances.

Similar to arrays the NodeSet class now allows one to retrieve nodes for a
given index.