Add scanbuild and fix things found
Update version history
Merge pull request #135 from LinuxJedi/clang-scan

Clang scan