Replace the current `wp.media.gallery` instance in `media-editor.js` with one that leverages `wp.media.collection`.

See #26631.


Built from https://develop.svn.wordpress.org/trunk@27213


git-svn-id: http://core.svn.wordpress.org/trunk@27070 1a063a9b-81f0-0310-95a4-ce76da25c4cd