Primary section 

Summary of changes:

(1) Add logic to determine the primary section.  If the sis_section_id matches the course_instance_id, this section name is considered the primary section and will appear at the top of the list

(2) Code cleanup, remove unused code and reduce the length of the lines to under 80
This code doesn't account for cross listed courses. The particular task that Josie took up  was to identify the primary section and make it appear on top of the list. Before yesterday's meeting, the notion we had was that the 'primary' section was that one from the course(matching sis id) and the cross listed  section(s) would be considered 'secondary' and everything else clubbed in another category. 
The meeting yesterday cleared up the confusion and the consensus was to treat the combination of these as primary (that has the whole class list) and make them appear on top of everything else. This functionality should  be added  to this task (or a new task )