Fix badge actions' interactions with selected items.
Move badge reactions out of qtDescriptivePhraseDelegate::editorEvent()
because that method does not have access to the QAbstractItemView
(which is where the QSelectionModel lives, which we need in order to
handle toggling of multiple selected phrases properly).