Simplify browse pages, make them less noticeable and remove Various Artists special-casing (fixes MBS-4549)
Use a more generic message when the browse pages have nothing to display
Remove find_by_name_prefix_va and replace find_by_name_prefix with fetch_all
Simplify browse templates
Merge branch 'beta' into browse2

Conflicts:
	lib/MusicBrainz/Server/Controller/Artist.pm
Make "historical" translatable for areas
Remove page_index and page_index_max functions/indexes
Add SQL file for removing page_index and page_index_max from the database
Add test case for merging release events

Add a test case to verify that release events are merged correctly on
release merges:
- Release events for all countries are retained.
- Complete dates are preferred over partial dates, and partial dates
  that have a year are preferred over those that don't.
- For equally complete dates for the same country, the date from the
  merge target is preferred.

This test currently fails, due to MBS-7190 and MBS-7191.
MBS-7191: Don't discard release events on merge

When multiple release events were introduced in commit
a4424e231a6fdb0e18327ef6162015d520d46073, the SQL for deleting
duplicate release events in a merge used the old no-longer-primary key
of (release) instead of the actual (release, country) key. This means
that as soon as there is one release event to be deleted, the merge
will delete *all* release events attached to that source release. If
there is at least one release event to be deleted from each source
release, the merge result will have no release events at all.

This is fixed by only deleting the release events that have a matching
(release, country) pair.
MBS-7190: Prefer target when merging release events

Upon a release merge, when there are conflicting dates for the release
event in one country, the version in the merge target should be
preferred. The way the relevant ORDER BY clause was constructed
accomplished the opposite instead: A Boolean false value is
interpreted as 0, which sorts before 1 (true) in a default ascending
sort.

The sort order is changed to descending in order for true values to
appear first.
Remove CASE expressions from ordering clauses
Merge branch 'beta'

* beta: (33 commits)
  Fix autoeditor table display
  Update translations from transifex.
  Optimize order of inline script tag/CSS file, re: recommendation of PageSpeed
  Update translations.
  Add japanese translation.
  RemoveLinkType edits should allow undef for 'max', as this is used for instruments, which can have as many as needed.
  Update translations from transifex.
  Update pot files using current code and production database.
  Minor cleanup to QUnit tests
  Replace a tab that snuck in
  Remove URL substitution from guess case, now that it's being done by the template
  Replace tabs with the spaces for consistency in the guess case mode files
  Make the guess case descriptions translatable (and improve them too) (MBS-5232)
  Replace tabs with spaces for the auto-editor election template
  Use a table to display auto-editor election details (MBS-5418)
  Use a table for the quick links header in the edit search (MBS-5146)
  Compile templates to .ttc files; when DEVELOPMENT_SERVER is not set, check less frequently for changes to template files.
  mbs-7174: change vimeo to autoselect correctly
  Remove leftover unused variable
  Add paging controls for collections (MBS-7115)
  ...
Entity-encode the href of interpolated links in MB::S::Translation
add missing </tbody> in coverart stats
Update years in CDStub browse test
Assorted test fixups
compile to temporary directory, hotfix
Merge remote-tracking branch 'chirlu/mbs-7190' into beta

* chirlu/mbs-7190:
  Remove CASE expressions from ordering clauses
  MBS-7190: Prefer target when merging release events
  MBS-7191: Don't discard release events on merge
  Add test case for merging release events
Merge remote-tracking branch 'nikki-bitbucket/browse2' into beta

* nikki-bitbucket/browse2:
  Add SQL file for removing page_index and page_index_max from the database
  Remove page_index and page_index_max functions/indexes
  Simplify browse templates
  Remove find_by_name_prefix_va and replace find_by_name_prefix with fetch_all
  Use a more generic message when the browse pages have nothing to display
  Simplify browse pages, make them less noticeable and remove Various Artists special-casing (fixes MBS-4549)