MDL-35433 re-work loadSCO for tcapi

MDL-35422 don't use datamodel.php with TCAPI

MDL-35433 SCORM: move xml2data class into classes directory and small tidy

MDL-35433 SCORM: tidy up tin can files

MDL-35433 SCORM: correct auto-loading class names

MDL-35433 SCORM: check local tincan files installed.

add Jamies Local tcapi plugin

Rename local_tcapi as local_lrs

spacing stuff

MDL-35433 fix bug with mysql specific sql

MDL-35433 SCORM: fix some mysql specific stuff

Move classes out of locallib into auto-loading class dir

don't auto-change capabilities - we will add checks and force admin to configure

MDL-35433 SCORM add overview settings page to help config

spacing stuff

rename settings page

MDL-35433 SCORM - add check to overview page about capabilities

tidy up endpoint files - pull out logging code that doesn't comply with core standards.

tidy up externallib with coding guideline stuff

coding guideline stuff

more coding guideline stuff - make some functions easier to read

more coding guidelines

more coding guideline stuff

more tidy up