fixed issue #2869 - improved Str::random and Str::quickRandom functions, made testCanGetCodeAndVariablesFromObject pass on Windows