Document#all_nodes -> Document#each_node

This method has been renamed and now yields nodes and their indexes instead of
buffering them in a node set.