MBS-7074: Do not show current entity in 'relate to' autocomplete

08407e6b3ac92 refactored Autocomplete.js and preserved the idea of a
resultHook, but it was never placed in the options declaration. This
meant the resultHook could only act as identity, but we need to override
it for the "Relate to..." drop down. This commit moves it the options
section so that it can be overriden.
Follow up on 4547945aa by also moving lookupHook to "options" for the same reasons
Merge branch 'beta' into mbs-7074
Show generic 404 page for missing relationship types instead of trying to use a non-existent template (MBS-7169)
Remove recording/work links from the ISRC/ISWC bubbles (MBS-7095)
MBS-7154: Attach CD TOC : some"show tracklist" buttons don't work

The script for toggling the tracklists gets included inside a FOR loop,
so many click handlers get registered for each button. Upon clicking
a button, all of the handlers registered after that specficic row
would get called, having a weird domino effect where the tracklist
would toggle back and forth a huge number of times until it stopped
on "show" or "hide" depending on being odd or even in the list.

This introduces MACROs for the release rows and scripts so that the
templates can include these separately in the markup.

This also fixes a few colspans that cause the barcode column to not
fit into the table.
MBS-7175: Fix condition for detecting missing labels in release editor
Add paging controls for collections (MBS-7115)
Remove leftover unused variable
mbs-7174: change vimeo to autoselect correctly
Compile templates to .ttc files; when DEVELOPMENT_SERVER is not set, check less frequently for changes to template files.
Use a table for the quick links header in the edit search (MBS-5146)
Use a table to display auto-editor election details (MBS-5418)
Replace tabs with spaces for the auto-editor election template
Make the guess case descriptions translatable (and improve them too) (MBS-5232)
Replace tabs with the spaces for consistency in the guess case mode files
Remove URL substitution from guess case, now that it's being done by the template
Replace a tab that snuck in
Merge branch 'template-compilation' into beta

* template-compilation:
  Compile templates to .ttc files; when DEVELOPMENT_SERVER is not set, check less frequently for changes to template files.
Merge remote-tracking branch 'reosarevok/mbs-7174' into beta

* reosarevok/mbs-7174:
  mbs-7174: change vimeo to autoselect correctly