Moved SqlDatabaseTransactionContext Format code into SqlQueryFormatterManager (last bit of code that actually manually generates SQL strings). Various other tidy-ups.