Move escaping methods to String class.

My opinion is that this is the most logical place for them. Also we can
slowly move methods out from `Utils` class and make it obsolete.