MDL-47691 quiz: only warn re overdue attempts if a Q has been answered

If a quiz is set to have a grace period when time has expired, we only
email studnets to warn them about their overdue attempt if they have put
in an answer to at least one question that is worth some marks.