Improve DiffEditor actions

* Remove the obsolete action_apply_selection action.
* Make the enabling/disabling of actions that act upon the selection work better.