app: add a generic GimpToolWidget::response() signal
and a default key_press() handler that emits CONFIRM, CANCEL and RESET responses. Remove code with the same purpose from all subclasses. Change tools feed key_press() to the widget and connect to its "response" instead of implementing key_press() themselves. This will only be better and less code after the tool side of this is done generically.
Showing with 170 additions and 123 deletions