Export parameters are now taken into consideration when exporting pdf's

Modified export_pdf.php so that some of the export parameters are now
taken into consideration during the pdf export. Some parameters like
student names, student id's and final marks still need to be taken
into consideration.

 #Please enter the commit message for your changes. Lines starting