MBS-5265, Add release-group front cover art support table in cover_art_archive schema.
MBS-5265, Add "set release group cover art" edit.
MBS-5265, Set release group cover art edit tests.
MBS-5265, Add dependancy checks + test in set release group cover art edit.
MBS-5265, make Artwork->load_for_release_groups() load front cover art from the earliest associated release if no cover art is set.
MBS-5265, Use green instead of yellow to show which cover art is currently selected.
MBS-5265, Call event.preventDefault () at the start of the function.  Do not display the "old cover art" section if there is no old cover art.
Merge branch 'master' into mbs-5265

* master: (543 commits)
  MBS-5473: create controlled_for_whitespace and helper functions in upgrade.sh
  MBS-5463, fix typo in previous commit.
  MBS-5463, set name/barcode/comment fields in the correct hash in ReleaseEditor::Add (fixes crash introduced in previous commit).
  MBS-5463, don't allow null / undef as release disambig comment, always initalize to a string.
  schema change: Run SetSequences in order to get correct sequence values before slaves migrate; otherwise duplicate credit merging will fail
  schema change hotfix: use Form::Field::Comment in the RE, not Text, as this field cannot be null
  Explicitly drop broken indexes in upgrade.sh as well.
  Don't create {artist,label}_idx_uniq_name_comment, since they break with the dump we've been using for testing.
  Fix pgtap tests
  Fix upgrade process to work on slaves that don't have the caa schema.
  CAA replication: Import dumped CAA schema before migration, not after, as this is where master dumped it.
  CAA/statistics replication: drop statistics triggers appropriately, and recreate them correctly at the end of upgrade.sh
  MBS-3791: Remove controlled_for_whitespace(description) again, falsely re-added
  feh, remove a comma
  Remove 'created' column from release_group_secondary_type, where it shouldn't be.
  Various schema change process improvements:
  Add track_name != '' constraint which is now live on totoro
  Revert "Remove constraints that haven't been applied to master"
  Remove constraints that haven't been applied to master
  MBS-4627, highlight cover art with pending edits, schema changes only.
  ...

Conflicts:
	admin/sql/caa/CreateTables.sql
	admin/sql/updates/20120919-caa-edits-pending.sql
	admin/sql/updates/20120921-release-group-cover-art.sql
	lib/MusicBrainz/Server/Controller/ReleaseGroup.pm
	root/release_group/layout.tt
	upgrade.sh
MBS-5265, fix crash release group cover art related crash on release group page.
MBS-5265, fix "Use of uninitialized value $offset" warning.
MBS-5265, Don't show "Set Cover Art" form when no cover art can be set for a release group.
MBS-5265, Update release group cover art when merging releases.
MBS-5265, unset cover art on release group when the associated release is deleted.
Merge branch 'master' into mbs-5265

* master: (114 commits)
  Ignore bad values for 'resource' attributes in HTML5 tests
  "about" is not a valid HTML5 attribute, but we still use it for RDFa.  For now, ignore the invalid html5 error messages from the validator about this.
  Update translations from transifex.
  MBS-5535, rename clean_text to collapse_whitespace.
  Valid HTML5 fixes, replace nbsp with numeric entity reference in common-macros.tt, display_age_ago.
  Valid HTML5 fixes to stastistics pages.
  Update iTunes match/cleanup to use https
  MBS-5523: Add test for JSON WS ?inc=url-rels.
  MBS-5523: Add missing "url" in JSON WS url-rels output.
  Fix the artist credit rendering function, add test
  MBS-4578: change sample to use schema 16 as well
  MBS-4578: update to current beta
  Silence complaints about trailing commas
  Update .pot files
  i18n: N_ functions didn't get re-added to the Makefile, evidently
  MBS-5509: deduplicate cookie generation/refreshing
  MBS-5535, correctly collapse and trim all parts of an artist credit in Edit::Utils::clean_submitted_artist_credits.
  Bump DB_SCHEMA_SEQUENCE from 15 to 16.
  Always render disambiguations as string (never as json null), update json /ws/2 webservice BrowseWorks test.
  Always render disambiguations as string (never as json null) and include them in works (json /ws/2 webservice).
  ...

Conflicts:
	lib/MusicBrainz/Server/Controller/Release.pm
	lib/MusicBrainz/Server/Edit/Release/AddCoverArt.pm
	lib/MusicBrainz/Server/Edit/Release/EditCoverArt.pm
	lib/MusicBrainz/Server/Edit/Release/RemoveCoverArt.pm
MBS-4627, use DBDefs-> instead of DBDefs:: in Entity::Artwork.
MBS-5265, perl 5.10 fix in Edit::ReleaseGroup::SetCoverArt.
Update HACKING-CAA.md with the correct location of admin/sql/caa/CreatePGQ.sql
Merge branch 'mbs-5265'

* mbs-5265:
  MBS-5265, perl 5.10 fix in Edit::ReleaseGroup::SetCoverArt.
  MBS-4627, use DBDefs-> instead of DBDefs:: in Entity::Artwork.
  MBS-5265, unset cover art on release group when the associated release is deleted.
  MBS-5265, Update release group cover art when merging releases.
  MBS-5265, Don't show "Set Cover Art" form when no cover art can be set for a release group.
  MBS-5265, fix "Use of uninitialized value $offset" warning.
  MBS-5265, fix crash release group cover art related crash on release group page.
  MBS-5265, Call event.preventDefault () at the start of the function.  Do not display the "old cover art" section if there is no old cover art.
  MBS-5265, Use green instead of yellow to show which cover art is currently selected.
  MBS-5265, make Artwork->load_for_release_groups() load front cover art from the earliest associated release if no cover art is set.
  MBS-5265, Add dependancy checks + test in set release group cover art edit.
  MBS-5265, Set release group cover art edit tests.
  MBS-5265, Add "set release group cover art" edit.
  MBS-5265, Add release-group front cover art support table in cover_art_archive schema.
  Use cover_art_archive.index_listing when loading cover art data from the database.  Add edits_pending column to caa/CreateTables.sql.
  MBS-4627, fix date on caa-edits-pending database upgrade script, include said script in upgrade.sh.
  MBS-4627, set cover art edits_pending column in cover art edits.
  MBS-4627, add an Artwork entity, which displays artwork based on database data instead of a webservice call to coverartarchive.org.
Merge branch 'mbs-4627'

* mbs-4627:
  MBS-4627, use DBDefs-> instead of DBDefs:: in Entity::Artwork.
  MBS-4627, small fixes based on code review feedback.
MBS-5265, don't include the old release id in Release Group Set Cover Art edits if it was automatically picked.