Fixes slider bug

Fixes bug where slideshow titles and images become mismatched when
relevant articles lack an image file.

Adds "has-image" class to recent/random/featured artcles having images
(and in some cases, makes sure they do have images), for use in the
generation of the swipe.js sliders.