Update active qualifications to not include those of the same rank.
If a trainee is training for a now retired qualification, don't show the new one of the same rank.
Prevent duplicate lessons showing up in the session planner drop down.
Closes #370 (closed)