Replace core_ext for string by Util.

Move String.random to Util.random_string.
It is very risky to have ruby core extensions if we assume that
RubyCAS can be a part of bigger piece of software.