set full path to lib.php to allow cohorts pages to load without error when running under apache
remove scheme from remote js url so to use https if necessary
Merge pull request #21 from edwinp-catalyst-eu/master

Updates to /mod/scormcloud/locallib.php