Add debug to lti param request helper
Ensure $CFG is available for all includes