Add ability to save results as pdf.

By default, Chrome and other browsers display pdfs in browser. There is now a save button that forces a download. 

Also added an argument to render_common_pdf that allows you to specify if a pdf is to be downloaded (disposition = "attachment") or viewed (default option, disposition = "inline").