PIM-2307: Add pre/post events in edit/delete handler

| Q                   | A
| ------------------- | ---
| Bug fix?            | N
| New feature?        | Y
| BC breaks?          | N
| Tests pass?         | Y
| Scenarios pass?     | Y
| Checkstyle issues?  | N
| Changelog updated?  | ~
| Fixed tickets       | PIM-2288 & PIM-2307
| Doc PR              |