Converting some methods to use StringBuilders instead of StringBuffers
to avoid synchronization.
Add a property to not replace the SQL prepared statements with actual
parameters, which could allow users to group the by SQL to figure out
the frequency/performance characteristics of requests.