[BUG #7279] disable globals check in CodeGenerator and re-enable it in DependencyLoader

- during class list exploration
- we had this before, and now after splitting globals check off of the other
  lint checks
- it's the most effective way to check for unknown globals (dependency analysis
  needs to match global symbols against known globals anyway for recursion)

- still have to look into: re-displaying warnings on every build