Added String::toUtf8/16/32 functions (#501)