Improve performance of PDF page number counting

We were using PDF::Reader, a pure-ruby PDF parser to do this. Some
complex pdfs took up to 1 minute to parse some PDFs at full CPU usage[1].

The pdfinfo binary which is part of poppler-utils takes about 90ms to do
the same job.

[1] https://www.pivotaltracker.com/story/show/44095427