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.
Merge remote-tracking branch 'upstream/master' into ja

* upstream/master:
  Maintain backwards compatibility for non-HTML5 galleries.
  Add HTML5 support for WordPress galleries.