[Truffle] - Makes sure to always keep the string encoding after call: chomp, upcase, downcase, capitalize.

Extracts the string operations to a class StringNodesHelper so we can
reuse it in the methods with !