MBS-5767: Add an index on (editor, id DESC)

This allows /user/:user/edits to load without timing out.
MBS-5764: The 'works' column in the 'Languages' stats should link to a work search
MBS-5754: Allow copying track changes to recordings when adding new releases
MBS-5750: When filtering reports by subscriptions, also account for label subscriptions

Extends the FilterForEditor::ReleaseID filter to also join release labels
against editor_subscribe_label.
MBS-5525: Correctly display parent changes in 'edit relationship type' edits

Previously, we didn't load the actual LinkType objects (pointed to via
parent_id). Furthermore, the test for display and the display itself was wrong,
so that's also been fixed up.
MBS-5748: Only require an edit note during approval if other editors voted no

We currently check that the no vote counter for an edit is >0. However, if the
no vote is your own vote, then you shouldn't have to justify changing your vote
to approval.
MBS-5740: Only show the 'select all' checkbox if the table contains checkboxes
MBS-5705: Fix colspan on the artist 'appearances' tables
MBS-5770: Ensure that release_labels row have at least a catalog number or a label
MBS-5698: Display historic 'move disc ID' edits correctly

When the migration script ran, it attempt to resolve a release ID into the set
of release IDs that the release was migrated to in NES (as multiple release
events produced a new release ID). However, if this resolution couldn't be done
because the release was deleted since the edit, the result was the empty set.

When displaying the from/to release set in the edit display, we now check for
whether or not the release set is the empty set and if so display
'[removed]'. Otherwsie, we show all the releases.
MBS-5774: Make 'vote on all edits' text translatable
MBS-5655: Discard release labels in the RE if they have no data

If a release label is added that has no label nor catalog number, then this
release label is deemed as 'empty' and is either discarded (when adding a new
release label), or counts as a deletion (if there was previously a release
label).
MBS-5650: Extend edit approval transaction boundaries over race condition

We had a race condition when approving edits, in that between fetching the edit
to determine whether or not an editor can approve it and actually doing the
approval, another request could close the edit. This would result in an
exception when actually doing the approval, as the edit would no longer be open.

This commit changes the transaction boundaries so that the edit is locked for
the check, and the lock extends to actually approving the edit.
MBS-5744: limit edits modbot looks at to those that have any potential to actually be closed
MBS-5744: select only those edits that almost certainly will close this hour
MBS-5744: limit edits-with-votes selected to only those that have all votes of the same type
MBS-5744: >=, not > (thanks nikki!)
MBS-5744: use a REQUIRED_VOTES constant instead of a hacky comment-todo
Merge remote-tracking branch 'ian/mbs-5744-quicker-modbot' into beta

* ian/mbs-5744-quicker-modbot:
  MBS-5744: use a REQUIRED_VOTES constant instead of a hacky comment-todo
  MBS-5744: >=, not > (thanks nikki!)
  MBS-5744: limit edits-with-votes selected to only those that have all votes of the same type
  MBS-5744: select only those edits that almost certainly will close this hour
  MBS-5744: limit edits modbot looks at to those that have any potential to actually be closed
Merge branch 'mbs-5650' into beta

* mbs-5650:
  MBS-5650: Extend edit approval transaction boundaries over race condition