Add valgrind rule to Makefile.
Edit SlogTest and Makefile.

SLogTest shouldn't output anything to the console or a file as it's
annoying.
Add cachegrind rule to Makefile and gitignore.