Reworked on "FormatUserText" to fix MAGN-3507
Added various test cases for the new "CodeBlockUtils.FormatUserText" method
Fixed MAGN-3494 (watch node crashes with invalid statement in CBN)
Merge pull request #1686 from Benglin/CodeBlockFixes

Fixes various crash issues with Code Block Node