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

Clang scan
Update version number to 1.0.0