Refactors few things within the StringCheckExtensions class.
Tries to fix the failing test on the Software Factory by explicitely specifying the UTF8 encoding within the File.ReadAllText statement of the  LongStringErrorMessageIsProperlyTruncated() test.