Handle UDT and tuples in BuiltStatement.toString (JAVA-416).

Patch submitted by Dan Jatnieks.