add: initial mysql-related stuff for job fetching

uses libmysqlclient-dev for building
fetch the TBSCertificate