Suckier way of valgrind testing, just for Travis-CI!

valgrind testing can now be enabled with --with-valgrind on the command line,
because Travis-CI seems to suck at doing things the other way.