Merge pull request #2 from cocos2d/develop

update
support mingw
Merge pull request #3 from cocos2d/develop

update
testcpp mingw
Merge branch 'develop' of https://github.com/akof1314/cocos2d-x into develop
mingw console
Merge pull request #4 from cocos2d/develop

update
fix linux build
fix layerColor bug for shader change
solve conflicted with math.h isnan
Merge pull request #5016 from akof1314/develop

Support MinGW with CMake for TestCpp
Update AUTHORS [ci skip]
Update CHANGELOG [ci skip]
rename ghprb.py to pull-request-builder.py
Merge pull request #5023 from dabingnn/develop_layerColorBugForShaderChange

fix layerColor bug for shader change
Console is a property of Director.

By doing this, the console lives as much as the Director.
And the Console is not started until the method "listenOnPort" is
called.
Debug messages are forward to the console
don't send "unknown command".

... if the command is an empty command
cocos2d::log() moved to CCConsole

Unified console code since it is 90% similar to all platforms
Compiles on Linux