[cmake] adds static analysis target

also cleans up a few duplicate/mismatch source entries
Merge pull request #52 from renemilk/analyze

[cmake] adds static analysis target
fix some clang warnings & update lsl