nodes: add ancestorsWhile
Merge pull request #41 from hajimehoshi/ancestors-while

nodes: add ancestorsWhile
Thanks!