Filter commentable queries by course_id

Bug: TNL-207

@jimabramson @adampalay