Adding WebSocketTest for HTML5.
Checking whether client supports Websocket.
Setting binaryType to 'arraybuffer'.
Loading 'WebSocketTest.js' in test-boot-html5.js.
Merge pull request #168 from dingpinglv/Iss2072_JSPerformanceImprovement

Fixed #2072 optimize performance for javascript
Merge pull request #167 from dumganhar/upstream-websocket-test

Adding WebSocketTest for Cocos2d-HTML5.
fixed #2072 modify cc.Rect.origin/width to cc.Rect.x/y/width/height
Merge branch 'master' of https://github.com/cocos2d/cocos2d-js-tests into Iss2072_JSPerformanceImprovement