Peer grading linking issue

Ensure that peer grading modules whose linked problem is removed change to panel mode.  Solves lots of ItemNotFound errors.

@adampalay @brianhw Please look over when you can.