add gitrebase task

I could not shoehorn all the setup I needed for rebase into the existing setupAndRun function.

Changed readCommitMessage to use `show` in order to allow for commit messages other than `HEAD`s to be read.