Add support for html5 caption

HTML5 support for image captions is in 3.9 now (https://core.trac.wordpress.org/changeset/27668). Leaving out any changes to the CSS for now so previous WordPress versions are still supported.