[vcs] IDEA-116036 Pressing Escape in Commit/TODO dialog performs commit

* Show dialog with Cancel button.
* Correctly handle exit codes: if OK & thereAreTodoFound => review;
  if commit option is chosen => commit; otherwise safe cancel.