Move test data from edit.js to common.js
Removing a track should change the numbers
MBS-7227: Unable to change track order when positions are messed up

Internally, the release editor used the "position" property as being
equivalent with the actual index of the track. While this should be
a valid assumption, sometimes the positions can be messed up for some
unknown reason, so use the *actual* index instead.
MBS-7229: Arrow icons missing when adding cover art files
Add ticket reference to test for MBS-7227
Revert "Remove <style> thing I have no idea where it came from"

This reverts commit 476dd02e04d7e4a3144e7588e51b7ef49e54f28b.

Fixes MBS-7230. The issue referenced in the above commit doesn't seem
to have been fixed by it, so I was likely tired/incoherent when I
did that.
Make the trackParser tests slightly more atomic
Update internal track positions in parser

In the track parser, when text is matched to an existing track so that
it can be reused, the track's position was not being updated. So you
could end up with non-consecutive track positions on the medium. This
is now fixed.
MBS-7232: Beta: Relationship editor doesn't confirm leaving

window.onbeforeunload was always being set to undefined in the
"changes" subscription, which should've been removed in a previous
commit but was left in.

This commit also simplifies some code paths, standardizes on some
property names (s/media/mediums), and exposes the releaseLoaded
method so that tests can use it directly.
MBS-7228: RG release dupes overwritten by search

This makes it so that a /ws/2 search is not performed if a release
browse request is in progress.
MBS-7231: Beta: Release editor doesn't suggest current recordings
Remove jQuery input trap plugin

This was used to trap input inside bubble docs. Sadly, it doesn't
support Opera/other browers' tab navigation feature to ignore links.
Which is very annoying.
MBS-7237: Make it easier to move to the next recording in the release editor

 * Adds prev/next buttons the recording bubble.

 * Makes the submit action in the track AC/recording bubbles default
   to going to the next track.

 * Fixes the submit action in the release AC bubble. It now closes the
   bubble instead of switching tabs.
Right-align the AC bubble's Done button
MBS-7234: beta: Incomplete dates show question marks
Allow more edit types to submit ACs with gids
Remove unused file
Default to outputting recording ACs in /ws/js/entity
Only lookup AC gids if ids are missing
Run clean_submitted_artist_credits in Edit::ReleaseGroup::Create