Submissions cache

Invalidate the syllabus partial when student submissions change. Put the cache key SQL in a view.