Add cppcheck to scan for potential issues
There should be a section in this MR showing issues found by cppcheck