Modified runtests to exit with a non-zero value when tests have failed.
Updated CFG warning doctests to reflect less noisy warning output.