Implement Node.traverse() to allow custom graph traversals.

This PR implements the Node.traverse() method, satisfying #102. Total test coverage is forthcoming and it currently does not check for the 'fullpath' return type since that doesn't seem to be supported anywhere else in the API.