Rename branch-do-each to do-each and make it use rev-list

Update the syntax of branch-do-each to make it cleaner; more like
`git rebase`. Also rename it to reflect the new syntax better.