Add ability to reword and squash commits directly from the history view.

This adds two new menu items, "Reword" and "Squash", to the context menu of the history view. "Reword" prompts for a new commit message for the selected commit. "Squash" can be used to squash multiple (contiguous) selected commits into one, prompting for a commit message as well.