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.