Allow full path to be specified in __getitem__

This allows nodes to be specified by their path with respect to the
root node.