Correct updating of CBN's ports in the Flood

Dynamo and Flood have different behavior when updating CBN's value changes CBN's ports.
After updating value some ports may be deleted (and these ports may be not last in the ports list) and some ones may change its position. It is needed to delete and keep connectors in right ports.

http://adsk-oss.myjetbrains.com/youtrack/issue/REACH-72
need to have previous inputs value to define which ports are deleted and which ports are changes their indexes