added a setting to make 'create (all years) level courses in course table' optional
Fix bug: change table engine type to InnoDB (so that it better handles locking and transactions).
Fix bug: student_programme_enrolment 'course years' group names wrong.
Merge pull request #1 from aferenz/optional_op2

optional option 2
New setting implemented so increase version number.
Merge branch 'develop' of github.com:iandavidwild/moodle-local_ual_db_process into develop
New setting added so increase version number
Alter workflow:
Students need to be enrolled onto courses but retain their enrolment if they are subsequently removed from the MIS enrolment table.
This does not apply to staff. Therefore we will enrol staff using the database enrolment method from a separate table.
Merge branch 'develop' of github.com:iandavidwild/moodle-local_ual_db_process into develop
Fix bug: need to specify table collation and character set.
1. Fix bug: query incorrect.
2. Tidy queries.
Fix bug: query incorrect.
New language strings added for timings output.
1. New functions added to output timings info.
2. Bug fixes to perform_sync() function: create_new_students() replaced by create_users().
Tidy code.
'STAFF_ENROLMENTS' renamed to 'staff_enrolments'
Output something useful when we're testing user authentication.
Specify the engine type on the course relationship (i.e. mapping parents and children) table.
Fix bug: use InnoDB engine type on table creation - rather than altering the table after it's been populated.
Fix bug: engine types incorrect.