[BUG #7270] add new config key compile-options/code/lint-check

- to control lint-checking during compiles (source/build jobs)
- true by default
- as now this lint checking is done everytime, and not only for classes that
  need re-parsing, it slows done compiles a bit
- but seems sensible even for 'build' jobs, as they might have their own issues
  (e.g. unknown global symbols)
[BUG #7270] add COMPILE_WITH_LINT config macro