Hack pandoc template so epubcheck validates, closes #2.

Also convert cover image to the more widely accepted jpeg format rather
than png.