Pattern: add undo/redo support for "Clear all notes" operation in context menu

Simply add a journal checkpoint before clearing pattern.