Fixed issue #2710: Allow start-commit hook to prevent the Commit dialog from showing.

Closed username-removed-94717 requested to merge YueLinHo/tortoisegit:i2710 into master