Adds the option to keep intermediate output
This should allow for better debugging of the pdf creation process. It's possible that more intermediate output will be needed, possibly creation of the pandoc-created LaTeX documents.