Merge pull request #1655 from SmallAiTT/iss_4277_fix4release3.0

issue #4277 Add publish scripts to help developers publish project with nodejs
Merge pull request #1656 from SmallAiTT/iss_4277_fix4release3.0

issue #4277 : delete chinese comments.
Refactor #4308: Fix bug of director initialization
Refactor #4308: Fix bug
Merge pull request #1657 from pandamicro/develop-3.0

Refactor #4308: Fix bug of director initialization
issue #4277 : Fix a bug of publish.js