move submissions list into a separate general widget
move DB code to wCourseSubmissions, generalize it