Fix flags for debugger server socket

 * Works on iOS and Android
Fix windows build (nullptr instead of NULL when assigning to std::function)
Adds Base class to tests

Base class displays the Menu( <- O -> )
Improved in some tests the way to create entries.
Instead of defining the tests twice: the "create" method, and the entry
   in the array, it is only needed in the array (ActionsTest, SpriteTest
   and Texture2DTest)
Merge pull request #2792 from folecr/jsdb

Fix flags for debugger server socket
Update AUTHORS [ci skip]
Merge pull request #2795 from flaming0/sd-func-fix-win-build

Fix VS build (nullptr instead of NULL when assigning to std function)
Updating multi-platform-xxx template for win32.
Merge pull request #2802 from dumganhar/develop

Updating multi-platform-xxx template for win32. And some warning fixes.
Merge branch 'test_base_class' of https://github.com/ricardoquesada/cocos2d-x into ricardoquesada-test_base_class
Fixing compilation errors for win32.
Adding BaseTest in TestCpp for Android, emscripten, linux, nacl and marmalade.
Merge pull request #2804 from dumganhar/ricardoquesada-test_base_class

Merge https://github.com/cocos2d/cocos2d-x/pull/2796
[Tizen] Add libwebsockets.h, .a and support C++11
Merge pull request #2808 from pyrasis/tizen_2.1

[Tizen] Add libwebsockets and support C++11