Add support for printing map images.

Tweak Printer, use callback in fromHTML.
Add PrintBase singleton.
Update jspdf submodule to fix bug.