Logging full URLs if not in a course site.
Preventing lib.php code from running during cron runs.

Also reworked logic so that plugin doesn't run if it isn't enabled.
Merge pull request #3 from ccle/log-full-urls

Logging full URLs if not in a course site.