Implemented HTML5 figure and figcaption elements for images

Helps to better align Magnific Popup with HTML5 by implementing figure and figcaption for images by default.