fix MDL-44263

MDL-44263 assign: Add a submission status: ASSIGN_SUBMISSION_STATUS_NOTSUBMITTED, and modified the save_submission(), when there is no attachment than mark the submission status to ASSIGN_SUBMISSION_STATUS_NOTSUBMITTED.