add API to list other branches that have been merged into the given branch

Fixes #76.