dist/tools: add cppcheck script

Enables easy linting of:
- either the whole tree
- or just one branches changes against another branch
Typo: it's ./dist/tools/cppcheck...