Added utility functions plus refactoring.

- Functions added:
  - students_in_section(section_id)
  - students_in_course(course_id)
  - student_group_id()
  - teacher_group_id()
  - administrator_group_id()
merged new utility functions
Merge branch 'bpatzke-master'