valgrind_test to advanced_test, add cppcheck

Rename valgrind_test to advanced_test to reflect what
is actually happening when you run the command.

Add cppcheck of whole code base after all tests have been
run.