Filter assignments in sidebar

For the most part users only have access to exercises they've completed.

This still doesn't remove exercises that don't have any pending
submissions.