MDL-43525 Javascript: Allow add-ons to include yui3-gallery modules