Fix Console::writeLine() functionality, clarify functionality in doc block.
Fix Console::writeLine() handling of multi-line text that fits console window width.
Add tests for Console::writeLine(), fix typo in path.
Replace utf8_decode with iconv() in case mbstring is missing.
Replace internal utf8 methods with StringUtils.
Merge branch 'hotfix/4064'

Close #4064
Remove broken feature of ConsoleAdapter::writeLine() of matching text length to console width.
Merge pull request #4055 from Thinkscape/hotfix/console-writeline

Fix #4051 console::writeLine()
Merge branch 'hotfix/4055' into develop

Forward port #4055