Implement the class ConstString.

It's intented to be used almost everywhere to prevent unnecessery string copying.