Add HTML5 output for galleries and captions, plus adjust styles. Resolves #55