Initial check in
Added a better command line program, the epsfrag2pdf.py file. With this program it is possible to process a list of files or even a list of folders. In the case of processing folders, all (psfrags) files in those folders will be processed.

Change the psfrag replacement text.
Set the executable property of the epsfrag2pdf.py file.
Small change to avoid the epsfrag2pdf.py file from beeing deleted by mistake by the eps2pdf_converter.py script.
Implemented the get_extra_packages() function in the eps2pdf_converter.py file.

Now you can pass extra packages to the default latex template. Just create an "extra_latex_packages.tex" file with the usepackage commands. If you want extra packages only for a given eps file, create the file 'NAME_extra_packages.tex' (where NAME is the name of the eps file without extension) and put the usepackage commands there.
Changed the way the cropped is done.

Previously we used a savebox to make the final PDF contain the same
bounding box as the original ESP file. However, this approach cuts any part
of the psfrag replacements that go outside of the original bounding box,
since latex determines the bounding box before the psfrag replacements take
place..

Now we don't reduce the white space around the picture directly in latex
but instead rely on the external program "pdfcrop" to crop the white space
after the figure is generated.

We now rely on the ext
Added a 'crop' argument to the psfrag_replace function. The figure will be
only cropped if 'crop' is True (default value).
Changed the name of the created temporary files.
Changed 'os.system' calls to 'subprocess.call'.