Reformulation of course statistics page for departments

closes #318