Use pdfinfo instead of ps to retrieve PDF's information
Re-implement numberOfPages()
Fix typo
Follow method name changes in test case
Now convert options can be customized