MDL-63349 assignfeedback_editpdf: Rotate submitted image automatically