Expose the SQL query generator from SqlString

Expose the format(..) function from SqlString to complement the already exposed escape(..) and escapeId(..) functions.