Add epub subcommand to generate EPUB

This changes add epub subcommand to generate EPUB
For more details, please see http://bugs.ruby-lang.org/issues/8858