Generate HTML document and manpage for sample rpkg
Original script is refactored to generate HTML document and manpage for
sample executable rpkg. The final script is implemented to be general
and reusable as much as possible.
Signed-off-by: Chenxiong Qi <cqi@redhat.com>