Allow limiting of generations in the 'descendants' and 'ancestors' methods.
Merge pull request #4 from mdickinson/feature-limited-descendants

Allow limiting of generations in the 'descendants' and 'ancestors' methods.