closed #4727, Support run sample projects with console.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into issue4727
Merge branch 'develop' into issue4727

Conflicts:
	tools/cocos2d-console
Merge branch 'develop' into issue4727
Update the reference of submodule cocos2d-console.
Merge pull request #6235 from natural-law/issue4727

Support run sample projects with console.