Merge pull request #9187 from ricardoquesada/updates_console

Updates console
[AUTO][ci skip]: updating cocos2dx_files.json
Merge pull request #9188 from CocosRobot/update_cocosfiles_1416535058

[AUTO][ci skip]: updating cocos2dx_files.json
changed few loops for C++11 range-based for loop
Merge pull request #9194 from dptd/cpp11

changed few loops for C++11 range-based for loop