Support newer versions of html-pdf. Should fix #7.
Add config options.
Fix README. Fixes #5.