Added another traverser, and indexing methods

Added a new traverser, which traverses from a given node up towards the
root of the tree. Also added a get index method for retrieving nodes
from a tree by name, and a method to generate a Dict based index of the
nodes by name.