Added String utility class

The String utility class has static functions for multibyte-safe
trimming and chopping. Additionally it also has a chopWords function to
chop a string while keeping words whole.