add support for cppcheck along the lines of iwyu and cpplint.
This commit adds support for cppcheck to be run before each compile command. It will be passed the source file and the compiler flags it needs. You can add additional flags to the command as needed.