OTHER: Isolate valgrind check from xcu and add error check.
OTHER: Add memory check to medialib-runner.
OTHER: Exit with failure if medialib-runner tests fail.