Merge branch 'beta'

* beta: (67 commits)
  Set MB.formWasPosted before running test
  MBS-7817: External links editor doesn't remember posted relationships when there are errors
  Update translations from transifex.
  Use MB.formWasPosted var to determine whether to parse seeded URLs
  MBS-7812: Beta: Edits from session storage re-entered from new edit form
  MBS-7806: beta: url seeding is broken on /{entity}/create pages
  Add CDV to dumb, hardcoded formatsWithDiscIDs list
  Update translations from transifex.
  Use %ENTITIES for inc parameters for rels (fixes the fact series-rels doesn't work)
  Remove data quality bits from Edit::Relationship::Reorder edit_conditions
  sessionStorage.submittedRelationships should contain both target and entities props
  Allow tests to simulate multiple form submissions
  Use %ENTITIES to template out annotation reports.
  Update translations from transifex.
  Update pot files using current code and production database.
  Fix miscopy in recording annotations report template.
  Fix Controller::Edit::Show test failing due to the 'remove_label' template no longer existing.
  Update translations from transifex.
  Update pot files using current code and production database.
  Make EditSearch::Predicate::Entity automatically create the various bits, using %ENTITIES and a dose of eval magic.
  ...
MBS-5511: Use link_entity for the RG link on release pages

The "see all versions of this release" link on release pages to the
containing release group was created ad hoc instead of using the
normal macros. This led to the link not being highlighted if the
release group had pending edits.
MBS-4673: Load edits_pending for artists in ACs

Artists within artist credits are loaded by the ArtistCredit model
directly, using only a subset of the columns. The edits_pending count
was not among them, hence artists with pending edits weren't
highlighted as usual if they appeared as part of an artist credit.
MBS-6540: Mark pending edits in release ACs

Artists appearing in artist credits in the tracklist on a release page
(built client-side via JavaScript) weren't highlighted in the usual
way if they had pending edits. Encode the necessary information in the
page and extend the template to produce the "mp" CSS class if
appropriate.
Add CSS class to relationships with pending edits

The display of relationships doesn't make it clear if any highlighting
for pending edits refers to the relationship itself or to its target.
As a first step towards a better display (MBS-7134), mark a
highlighting that refers to the relationship itself with the "mp-rel"
class in addition to "mp", so that the two cases can be distinguished
by user-side CSS or scripts.
MBS-4531: Mark pending-edit rel.s in the table view

The template for displaying relationships in a table didn't mark
relationships with pending edits.
MBS-6088: Highlight edit-pending rel.s on release page

Recording and work relationships displayed inline on the release page
(built client-side via JavaScript) weren't highlighted in the usual
way if they had pending edits. Encode the necessary information in the
page and extend the template accordingly.
Fix two test descriptions
Fix display of attributes in relationships table

Also now displays instrument credits.
Factor out LinkAttribute interpolation code

Also make sure it's encoded properly and use comma_list for display.
MBS-7767: Prevent overriding a fixed entity type

In some cases, e.g. when editing an existing relationship, it is not
allowed to change the target entity type from within a relationship
editor dialogue. The type selection dropdown is accordingly disabled.
Still, it was possible to change the supposedly fixed entity type by
pasting the MBID of an entity with a different type. Check for this
case and reject the pasted MBID if the types don't match.
MBS-7670: Fix check against series type mismatch

The existing code to make sure that part-of relationships to a series
can be added only if the series entity type matches was broken; it
didn't unwrap a Knockout observable properly.
MBS-7554: Store "ended" flag in "remove rel." edit data

The "ended" flag was not stored in "remove relationship" edits. Hence,
a relationship that ended on an unknown date would display like a
still active relationship.
Refactor select_options_tree

Refactor select_options_tree so that the accessor method can be
specified (in the same way it was already possible for select_options)
and so that it can accept a root node directly.
MBS-7779: Fix indentation in admin forms

Use the generic select_options_tree method in the link type and link
attribute type admin forms, instead of re-implementing it twice. This
also gets rid of the HTML entity for a non-breaking space, fixing the
indentation in the dropdowns.
Merge remote-tracking branch 'bitmap/mbs-7819' into beta

* bitmap/mbs-7819:
  Factor out LinkAttribute interpolation code
  Fix display of attributes in relationships table
Merge remote-tracking branch 'chirlu/mbs-7779' into beta

* chirlu/mbs-7779:
  MBS-7779: Fix indentation in admin forms
  Refactor select_options_tree
Merge remote-tracking branch 'chirlu/mbs-7554' into beta

* chirlu/mbs-7554:
  MBS-7554: Store "ended" flag in "remove rel." edit data
Merge remote-tracking branch 'chirlu/mbs-7670' into beta

* chirlu/mbs-7670:
  MBS-7670: Fix check against series type mismatch
Merge remote-tracking branch 'chirlu/mbs-7767' into beta

* chirlu/mbs-7767:
  MBS-7767: Prevent overriding a fixed entity type