perlmagick and file::copy

no more system() calls, which means it all goes much faster. pdf
trimming is no longer done in ghostscript and can support any dimension
of pdf.