Fix renaming in Controller.insert_graph

We need to extend_fresh the renamings before passing them to
rename_bang_graph, to make certain there are no clashes.

integration has a fix in rename_bang_graph, but this is the safer fix,
more suitable for stable.
Merge branch 'pasting-hotfix' into stable