fixed #1647: Adding WebSocket support for Cpp and JSB.

Conflicts:
	extensions/proj.win32/libExtensions.vcxproj
	extensions/proj.win32/libExtensions.vcxproj.filters
fixed #1647: Adding missing files.
fixed #1647: Updating JS-test.
issue # 1647: Fix include, 'Websocket.h' -> 'WebSocket.h' since linux is case sensitive.
WS_ERROR -> ERROR, WS_STATE -> STATE.
Updating JS-Test.
fixed #1647: Renaming enumerations to Cocos2d-x style. ERROR and ERROR_TIMEOUT is defined as macros on Windows, fuck it.
fixed #1647: [WebSocket] Fixing compilation errors on win32.
Merge pull request #2707 from dumganhar/websocket-master

fixed #1647: Adding WebSocket support for Cpp and JSB. [master]