added xbrowser/html2canvas module
test/suite: include `error` as the second argument to test hooks; allow logging <canvas> objects directly to html output