Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into develop
issue #1108: add cleanScript and testcase, the testcase will be improved on next commit
issue #1108: add restart game test case
issue #1108: improve restart method, it can run in the appDelegate.cpp, but can not run in js code
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into develop
issue #1108: first step, the function of cc.game.restart
Merge branch 'develop' into restartGame

Conflicts:
	samples/js-moonwarriors/project/Classes/AppDelegate.cpp
issue #1108:adjust the function name
issue #1108: finish restart game
Update license files for js moon warriors test case
issue #1108: remove the include code
issue #1108:restart game test case finish
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into develop
Merge branch 'develop' into restartGame

Conflicts:
	tools/cocos2d-console
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into develop
skip failed auto binding functions
Add "addPostStepCallback" for cp.Space
remove the tab
modify submodule commit
update cocos2d-console