[#2665] Added example for INSERT query transformation

 * Added example integration test for INSERT query transformation
 * Enhanced VisitContext to enable patching of QueryParts while
traversing the tree