Can now give a base URL when creating PDF from HTML

Just added a method, and made very small changes to the initializer to
use the given base URL (r nil) instead of a systematic nil.
Merge pull request #9 from fblondiau/master

I needed to give a base URL when creating PDF from HTML…