Improved SQL class

Renamed SqlExpressionCompiler to SqlStatementBuilder.
Refactored SqlStatementBuilder to support transactions.