Initial commit for addition of recurring events. This version is fairly simple and just allows users to select a repeat frequency, then set some details about that to have a number of event dates and titles populate on the page for duplicates of the current event information to be created on those dates with those titles.
Merge branch 'develop' of github.com:EntradaProject/entrada-1x into feature-recurring-events

# By Ryan Warner (12) and others
# Via James Ellis (4) and others
* 'develop' of github.com:EntradaProject/entrada-1x: (32 commits)
  Fix for a couple minor issues, in the median grade calculation in My Profile -> My Gradebooks -> Some Course, addition of a closing div in the admin events index, and fixed an issue which caused some evaluations (those that use the course group as an evaluator type) to not show on the Evaluation Reports section, as well as changing the pencil/edit icon on the admin evaluations index into a dropdown button that allows editing or viewing of the evaluations report.
  Added in missing `objective_loggable` field to the manage objectives interfaces.
  Added in missed sql changes for generic logbook module.
  Added a check to ensure that the list of objectives shown on the event content page only includes those that exist in the same organisation as the course which the event is in.
  Fixed issue where the organisation was pulled from a user's `user_data` record rather than the `user_access` record which was being shown on the people search page. Also, made the cohort shown for students default to their role when they aren't in any cohort groups.
  Fix for issue with clerkship evaluation notices being sent out when there are any attempts left, rather than ensuring they've filled out the minimum required and only sending the notice if they're below that number submitted.
  Added in the first iteration of a decoupled logbook module (some keyword changes/tie-ins to the language file may still be necessary). Closes ticket #212
  Updates syllabus generation to directly use course enrolment periods.
  Refs #262: Fixes option display error on edit, fixes flexigrid bug on grade page
  Refs #262: Fixes edit bug where the new options were not showing up, ajaxifies selector in add page to support new options.
  Closes issues #269 and #270: Allow for enabling and disabling course reports from within Manage > Courses and Create Report Card report as a course report.
  Refs #206: Adds ability to map objectives to objectives from other sets.
  Closes #23 Upgraded CKEditor to 4.2, added the media embed plugin, added the alignment options to the editor, and reorganized the toolbar layout.
  Check if $nav_elements is set and an array before iterating through it.
  Refs #272: Sets accesses to 0.
  Adds missing type field to assessments_lu_meta_options table.
  Refs #262: Adds ability to track late submissions & resubmissions in assessments.
  Fixes bug whereby cohorts would not get targeted notices. Closes issue #268.
  Fixes bug whereby the option to send a notice to "Everyone should receive this notice." was not selectable. Closes issue #267
  Refs #265: Community template was not being passed to processed in step 3.
  ...
LTI Consumer Support on Course Pages, Course Websites (Communities), and Learning Events
LTI Consumer Support on Course Pages, Course Websites (Communities), and Learning Events

SQL Upgrade
Merge branch 'develop' of https://github.com/EntradaProject/entrada-1x into feature-recurring-events

# By Ryan Warner (20) and others
# Via Don Zuiker (2) and others
* 'develop' of https://github.com/EntradaProject/entrada-1x: (52 commits)
  Refs #312: Improves the way questions are randomized to account for page break and description question types.
  Closes #311: Fix Assignment Grading, modified "Leave Comment" link location and reset comment form field values.
  Closes #311: Fix Assignment Grading, added error handling in AJAX comment callback.
  Closes #311: Fix Assignment Grading.
  Fixes bug where organisarion_id wasn't set in user_data when a guest user is added to a community refs ticket #306
  Added minimum duration constant and some validation to add learning event interface while modifying the validation in the edit interface as well. Closes issue #310.
  Set the default Export fields to match what the Importer expects.
  Fixes issue #252 whereby the same teachers were listed multiple times in My Teachers Report.
  Fixes bug in moving from one grade to another using keyboard.
  Update to show clinical presentation objective set name rather than Other Objectives
  Removes hot topic time from event public view. Adds ability for administrators to remove hot topics from events.
  Minor fix to objective linking modal
  Changed inconsistent wording on the Event Content page and fixed typos in the Gradebook assessment add and edit page.
  Fix for MSPR multi-submission bug.
  Typo in variable check.
  Closes #305: Add all Associated Faculty to the Event Export.
  Calendar cron job must be run via curl, updated job to use get variable vs. command line param.
  Closes #295: Fix Event Export of Curriculum and Clinical Presentation Objectives.
  Fixes bug where cron job was attempting to use uninstantiated entrada user object to determine organization_id. Updated to run directly from command line php using the first parameter as the organization ID.
  Closes #289: Adds fallback for IE where images are automatically center cropped. Fixes bug where IE users could not toggle official / uploaded photo.
  ...

Conflicts:
	www-root/core/includes/functions.inc.php
	www-root/core/modules/admin/events/add.inc.php
Fully working first iteration of the recurring events functionality. Also includes a few minor bugfixes.
Updated develop branch version number to 1.6.0DEV.
Merge branch 'develop' into feature-lti

Conflicts:
	www-root/setup/upgrade/1504/entrada.sql
Added LTI database tables to install and upgrade SQL for Entrada 1.6.0.
Added Curriculum Period Titles as part of issue #314.
Closes #270: Create Report Card report as a course report; changed the way the total number opportunities is calculated; added check for individuals added to a course.
Closes #270: Create Report Card report as a course report; bug fixes for opportunity total calculation.
Fixes and updates to the LTI work thus far.
Merge branch 'develop' of github.com:EntradaProject/entrada-1x into develop
Profile Gradebook fixes for adding a comment, editing a comment, deleting a comment, delete a version of a file, faculty response revisions.  Also updated the max file size for an assignment upload to be the current Entrada setting of 50MB.
Added logging for when a Community is successfully deactivated.
Refs #216 Fixes to the BasicLTI implementation in Courses and Events.
Merge branch 'develop' of github.com:EntradaProject/entrada-1x into develop
Refs #316 Attempts to fix the encoded entities but I don't think this works. More testing is required.
Merge branch 'develop' into feature-recurring-events

Conflicts:
	www-root/core/modules/admin/events/content.inc.php
	www-root/core/modules/public/courses/index.inc.php
	www-root/setup/upgrade/1510/entrada.sql