Optimize some of the string class operators

For single-byte strings, resolve <, = and != operators to strcmp
For common = operator, copy hash value from source to destination