Make the Last.fm social network URL matching more strict
Fix metal-archives.com URL matching
Make generasia URL matching more strict
Merge remote branch 'origin/beta' into mbs-6681

Conflicts:
	root/static/scripts/edit/MB/Control/URLCleanup.js
Make QUnit work in-browser again

Adds a user agent check for PhantomJS, so it can load the correct
text.js file.
MBS-7356: Include a timestamp on the ISE page

When an Internal Server Error occurs, the information from the ISE
page is often pasted into an issue tracker ticket, to help with
debugging. It can be useful to know when exactly the ISE happened in
order to compare with the open/close times of any relevant edits, so
include such a timestamp in the ISE page.
MBS-7247: Fix release search from CD stub page

When searching for a matching release from a CD stub page, the
relevant criterion is the number of tracks on a medium, not the total
number of tracks over all mediums in the release. Therefore,
"tracksmedium" should be used instead of "tracks" in the search query.
MBS-4706, MBS-6897: Don't create mediums with duplicate positions
Merge remote-tracking branch 'chirlu/mbs-7247' into beta

* chirlu/mbs-7247:
  MBS-7247: Fix release search from CD stub page
Merge remote-tracking branch 'chirlu/mbs-7356' into beta

* chirlu/mbs-7356:
  MBS-7356: Include a timestamp on the ISE page
Merge remote-tracking branch 'bitmap/fix-qunit-in-browser' into beta

* bitmap/fix-qunit-in-browser:
  Make QUnit work in-browser again
Merge remote-tracking branch 'bitmap/no-medium-position-conflict' into beta

* bitmap/no-medium-position-conflict:
  MBS-4706, MBS-6897: Don't create mediums with duplicate positions
Merge remote-tracking branch 'nikki-bitbucket/mbs-6681' into beta

* nikki-bitbucket/mbs-6681:
  Make generasia URL matching more strict
  Fix metal-archives.com URL matching
  Make the Last.fm social network URL matching more strict