mbs-6201: make collections work differently by type (1)
mbs-6201: divide release and event collections further
mbs-6201: events now rightly added to collection when creating it
mbs-6201: add validation for types and parameters
deduplicate easy bits
Use MBIDs for URLCleanup
merge some more subs
allow actually editing the collections with a hidden type_id
Merge remote-tracking branch 'reo/events-collections' into schema-change-2014-q4

* reo/events-collections:
  allow actually editing the collections with a hidden type_id
  merge some more subs
  deduplicate easy bits
  mbs-6201: add validation for types and parameters
  mbs-6201: events now rightly added to collection when creating it
  mbs-6201: divide release and event collections further
  mbs-6201: make collections work differently by type (1)
Random newline nitpicks
Merge branch 'url-cleanup-mbids' into schema-change-2014-q4

* url-cleanup-mbids:
  Use MBIDs for URLCleanup