corrects dependency on tcpdf directly to moodle's pdflib; in the interest of time, guts references to tcpdf constants;