added a debug print method to catalog::Sql() that prints the whole result set of a statement
replacing std::stringstream with Stringify*() and string concatination
Merge pull request #122 from reneme/sql_debug_print

catalog::Sql() can now debug-print the whole result set of a SELECT statement