Refactored export_pdf.php and modified mixeval_eval_form.ctp

Refactored export_pdf.php to consider more cases for mixed evaluations
The params are now taken into account when getting the pdf output.

Fixed bugs in mixeval_eval_form.ctp and the total is now considered
starting from the first attempt.