MDL-41275 editpdf: Show a link to download/delete

Add a link to the grading form to download/delete the generated pdf.
Also only allow one generated file per student attempt.