Allow dumping of standalone LaTeX documents

Introduce --dump option for 'jeolm build' subcommand.
minor fixes, cleanups and enhancements