Add clang scan-build to CI
Add clang's static analyzer (https://clang-analyzer.llvm.org/) to the CI to find more complicated bugs.
Unfortunately it doesn't return non-null if there is a bug, so we have to check for the existence of a folder with reports.
Edited by Stephan Lachnit