simplify branch-name binding
fix branch-head? function name in tests
commit-ancestor
add commit-parents convenience function