Move insert planning from the insert stmts into the feature planner infrastructure.
Merge branch 'master' into kanzaros_cta