Fix the slideshow and gallery plugins for djangocms

They must import the jquery.cycle.js and also set width to display
correct when the width of their parent span is less than the width of
the image.