Implement PDF export for graded Missions and Trainings

Resolves #260 
is this one needs to be an instance variable ? Or local variable will do  ?