add Repository#descendant_of?

cc @ymendel @brianmario @vmg 
We probably should fix that in libgit2.