Merge branch 'master' into feat211_replace_offering_instructor
replaced table offering_instructor with offering_x_instructor and offering_x_instructor_group.
replaced triggers on table offering_instructor with triggers on offering_x_instructor and offering_x_instructor_group.
bumped migration counter.
added migration for splitting up the offering_instructor table.
bumped migration counter.
replaced offering_instructor with offering_x_instructor/offering_x_instructor_group in queries as applicable.
replaced offering_instructor with offering_x_instructor_group.
fixed typo in docblock. exposed docblocks to phpdocumentor.
refactored deleteOffering() to accomodate for schema changes.
death to array_push()!
formatting tweaks.
updated code docs.
refactored instructor-group related data retrieval out of getInstructorsForOffering() and into it's method getInstructorGroupsForOffering(). adjusted calling code as applicable.
REFACTORING: broke instructor-group-related query out of getOtherOfferingsForInstructor() and put it into getOtherOfferingsForInstructorGroup().
refactored internals of getOfferingsForAllInstructorsInSession() action to accomodate for offering model changes.
input escaping to prevent SQL injection.
switched to HEREDOC notation so these queries are more legible. fixed queries while at it.
rewrote queries using JOINS and table aliases.
rolled extra query for session type lookup into a JOIN. also, more death to array_push().