Default configuration for CppCheck, useful for static analysis of codebase.
Merge pull request #3266 from fluffyfreak/cppcheck

Add CppCheck file.