REACH-88 Redraw ports, output connection on code block when textarea is resized

Code block node resize event is handled and all ports and connections data are redrawn.
Please, take [this PR]([https://github.com/pboyer/flood/pull/41) first, because I missed to make new branch based on upstream so, this PR actually includes commit from my Reach branch.