Don't clear release group types when editing the autocomplete
Fix ISE on /place/create
Make sure the next medium position is calculated for track parser adds, too
Check for definedness of created edits

undef indicates that no changes were made.
Validate the barcode as the user types, not after blur
Return appearsOn correctly for recordings json
Use releases instead of release groups for appearsOn, since the search server doesn't return RG names
Don't popup the add-disc dialog if a medium is loading
Add (video) indicator to autocomplete/suggestions list
First sort suggested recordings by the number of release groups they appear on
Make sure params is always defined

Not sure if this is ever an issue (I haven't noticed any), but it
might be in the future.
Merge remote-tracking branch 'bitmap/release-editor-gsoc' into beta

* bitmap/release-editor-gsoc:
  Make sure params is always defined
  First sort suggested recordings by the number of release groups they appear on
  Add (video) indicator to autocomplete/suggestions list
  Don't popup the add-disc dialog if a medium is loading
  Use releases instead of release groups for appearsOn, since the search server doesn't return RG names
  Return appearsOn correctly for recordings json
  Validate the barcode as the user types, not after blur
  Check for definedness of created edits
  Make sure the next medium position is calculated for track parser adds, too
  Fix ISE on /place/create
  Don't clear release group types when editing the autocomplete