Merge pull request #1371 from pandamicro/NPM

Update package.json with description and add README.md
issue #1758 : Update version for npm. Add npmignore. Add copyNpmIgnore to add npmignore batch. Add publish2Npm to publish modules to npm.
issue #1758 : Do none about version of package.json.
Merge pull request #1378 from SmallAiTT/npm

issue #1758 : Update version for npm. Add npmignore. Add copyNpmIgnore t...
issue #1758 : Change structure of path for npm.
issue #1758 : Change structure of path for npm. And update of tools.
Merge pull request #1379 from SmallAiTT/npm

issue #1758 : Change structure of path for npm. And update of tools.
issue #1758 : Add test case.
Merge pull request #1382 from SmallAiTT/npm

issue #1758 : Add test case.
issue #1758 : Update test case.
Merge pull request #1385 from SmallAiTT/npm

issue #1758 : Update test case.
issue #1758 : Move TEST_RES to cc.js from resCfg.js
Merge pull request #1386 from SmallAiTT/npm

issue #1758 : Move TEST_RES to cc.js from resCfg.js
issue #1758 : Change name to lowercase.
issue #1758 : Change name to lowercase.
issue #1758 : Add __temp to npmignore.
Merge pull request #1387 from SmallAiTT/npm

issue #1758 : Change name to lowercase.
issue #3541 : Move TEST_RES from cc.js to resCfg.js of core.
Merge pull request #1388 from SmallAiTT/iss3541_4_testCase

issue #3541 : Move TEST_RES from cc.js to resCfg.js of core.
issue #3541 : Fix a bug when res is null.