modify const char* to std::string in CCConsole.
Merge pull request #6181 from shujunqiao/console-std

modify const char* to std::string in CCConsole.