Vid 1976

Refactoring the new media galleries so they are rendered client side. This handles issues surrounding lazy loading. 
Hehe, yeah. So ```Media``` is imported from the ```'mediaGallery.views.media'``` AMD module, which is listed as one of the dependencies of ```'mediaGallery.views.gallery'``` (the current module). So basically, all those dependencies get included as variables that are passed to the callback function (which is the meat of the module).