Changed CM_FormField_Text min/max lenght rules to support wide UTF chars
CM_FormField_Text validation now properly handles invalid UTF chars
code style related change
Merge pull request #1051 from cm-jan/issue-2751

fixed invalid UTF chars handling that could result in empty comments being created