MDL-44971 Add hook to "add_attempt" for mod/assign/submission plugins