CBN connection

I pulled this "https://github.com/ikeough/Dynamo/pull/710" to this branch and merged it in. So when you pull that first and then this, it wont give any error :)
(though technically this contains all the changes)

Code Block Node connection switching when variable declaration changes. 

Also undo and redo of connectors modified when CBN code is changed