mbs-7364: fix the JS we added to make area labels type-dependent so it actually does something
MBS-7272: Show ACs when editing relationships

Use descriptive links when adding/removing/changing relationships so
that artist credits are displayed (for recordings, releases, release
groups).
mbs-7368: add a name to the url type select
mbs-7369: add classes to sidebar elements that missed them
MBS-7366: Add padding to the header on edit pages

Add a bit of padding to the edit header on single-edit pages, and a
small amount of margin-top to "Cancel edit"/"Approve edit" buttons so
they do not touch the edge of the coloured area.
mbs-7369: adding class for catnos to release_catno_list
MBS-7142: Load AC for Remove Release Label edits
MBS-7374: No reorder edit created when simultaneously editing and reordering mediums
MBS-7372: Release Editor: CD TOC x Track Parser breaks horribly

If you're adding a release from a TOC and you parse less tracks than
the TOC has, it pads the tracklist with empty tracks. Except it
doesn't, because it uses {} as an empty track instead of an actual
track instance. So later when other code tried to call track methods
that don't exist on the object, things exploded.
Fix undef label name ISE in release merge code
MBS-7378: Inline search returns duplicate results when searching for the same text twice

The `term` variable stores the last text that was used to do a search. So
if you type something and then quickly revert it, it'll still do a search
because it compares `term` to the current input value even if the search
for the current `term` was canceled.

Now we keep a `completedTerm` variable that stores each term until a
search actually completes for it, and compare against that as well.

Additionally, we now run _.str.clean on the search terms/values so that
typing a space doesn't initiate a search until you add more text.

Finally, if another search is in progress, we only clear the timeout
if we're starting a new one (or an MBID was pasted). I *think* this may
solve some of the randomly-canceled search issues Nikki was noticing.
Revert _.str.clean portion of 814b321

Since it may actually be useful for people to trigger a lookup by
pressing space.
MBS-7380: Fix work attribute statistics

Apparently, the template for work attribute statistics was copied from
the work type section and not adjusted completely. Therefore, the line
for works without attributes displayed the corresponding figures for
works without a type, and the percentage for each work attribute
showed the figure for the last work type instead. This is changed to
use the correct, work-attribute, values.
Merge remote-tracking branch 'bitmap/mbs-7374' into beta

* bitmap/mbs-7374:
  MBS-7374: No reorder edit created when simultaneously editing and reordering mediums
Merge remote-tracking branch 'bitmap/mbs-7372' into beta

* bitmap/mbs-7372:
  MBS-7372: Release Editor: CD TOC x Track Parser breaks horribly
Merge remote-tracking branch 'bitmap/label-new-ise' into beta

* bitmap/label-new-ise:
  Fix undef label name ISE in release merge code
Merge remote-tracking branch 'bitmap/mbs-7378' into beta

* bitmap/mbs-7378:
  Revert _.str.clean portion of 814b321
  MBS-7378: Inline search returns duplicate results when searching for the same text twice
Merge remote-tracking branch 'reosarevok/mbs-7364' into beta

* reosarevok/mbs-7364:
  mbs-7364: fix the JS we added to make area labels type-dependent so it actually does something
Merge remote-tracking branch 'reosarevok/mbs-7369' into beta

* reosarevok/mbs-7369:
  mbs-7369: adding class for catnos to release_catno_list
  mbs-7369: add classes to sidebar elements that missed them
Merge remote-tracking branch 'reosarevok/mbs-7368' into beta

* reosarevok/mbs-7368:
  mbs-7368: add a name to the url type select