Traverse document nodes in document order.

The method Document#each_node now yields the nodes in the correct order.