update travis.yml: add cppcheck run, build demos and tools