[#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

 * Added clauses for FIELD_REFERENCE, TABLE_REFERENCE, etc.
 * Implemented UPDATE clauses
 * Changed QueryPartInternal to allow for specifying a Clause[] array
per QueryPart
 * Added a mechanism to omit clause event emission