Merge pull request #1412 from pandamicro/NPM

Feature #3541: Test case for ccgui has been added
issue #3541 : Fix bugs for test cases.
Merge branch 'NPM' of https://github.com/cocos2d/cocos2d-html5 into iss3541_4_testCase
Merge pull request #1416 from SmallAiTT/iss3541_4_testCase

issue #3541 : Fix bugs for test cases.
Feature #3541: Add css styling to index.html template