made _checkUnusedIncludes global in cppcheck.cpp

added dtor for CheckUnusedIncludes