Adds a new library interface for converting Command GPB messages into SQL strings. This code was duplicated in a few places in the new publisher branch, and Eric Lambert's work on the Java and Gearmna replicators can use this new library code.
Replaces the command_reader.cc's SQL string contruction with calls to the new command_transform.h API.
Fixes valgrind warnings in the filtered_replicator module that were copmlaining about uninitialized values. This was producing an occasional core dump on my machine when running the filtered_replicator test case in the command_log suite.
Test results are updated to the new output SQL format, which does not inject spaces after commas in field and value lists and also uses the ANSI standard single quote instead of double quotes for value encasing.