Add HTML5 support for WordPress galleries.
Maintain backwards compatibility for non-HTML5 galleries.
Merge pull request #419 from kovshenin/master

_s: Add HTML5 support for WordPress galleries.