git-cmp-branch: add -n to limit number of commits

This can be useful if the new topic branch is rebased.
git-publish: improvements of testing and new options.