add encoding to latex_to_pdf to solve invalid ASCII errors for ruby 1.9

PDF generation failed while calling LatexToPdf.escape_latex whenever there are accented characters. Added coding: utf-8 to top of this file to solve this issue for ruby 1.9