PdfInfo.php to retrieve information of pdf file

We need to find out about the number of pages and since we are already using pdftotext via php-xpdf, we'd like to add pdfinfo to it.