Adds 'pdf' format and PDF generation if 'mpdf' is added to the composer.json.