Added the valgrind instrumentation headers.

Broke CI into unit testing for memcheck and helgrind.

Instrumented our use of spin locks for helgrind.