Make API more robust, add folding API, add start of new C testdriver
use new API
remove stray whitespace
add back mysql token test that were not committed
undo
new testdriver