Replace xpdf with poppler

Closes #14