Fix problem name display

Previously, instructors could not change the problem name displayed because ORA always pulled the name from the first submission when showing peer and staff grading lists.  Moved the logic into a common function and made it default to the latest available submission.