issue #2429:LuaWebSocket supports passing binary string buffer to c++
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into TestSample
issue #2429:LuaWebSocket supports sending binary string passed by lua
closed #2356
1. Modify the JS binding of interface ProtocolAds::showAds.
2. Update the JS binding for plugin.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
Added virtual destructors to some interfaces to fix issue 3095
Fixed typo. virutal -> virtual
issue #2430:use upper letters for enum item in AssetsManager and WebSocket
issue #2430:use upper letters for enum item in Image
Merge branch 'iss2430-modify_enum' of https://github.com/minggo/cocos2d-x into iss2430-modify_enum
Constant fixes

Director::PROJECTION_2D, 3D,... -> Director::Projection::_2D, _3D, ...
Label::TEXT_ALIGNMENT_... -> Label::HAlignment::...
Label::TEXT_VERTICAL_ALIGNMENT_... -> Label::VAlignment::...
Texture2D::PIXEL_FORMAT_... -> Texture2D::PixelFormat::...
BlendFunc::BLEND_FUNC_DISABLE -> BlendFunc::DISABLE

Also adds more constant for BlendFunc
More constant fixes

Transition::ORIENTATION_XXX -> Transition::Orientation::XXX
Image::FORMAT_XXX -> Image::Format::XXX
Image::_function() -> Image::function() // private methods should not start with '_'
DrawPrimitives::drawColor() -> DrawPrimitives::setDrawColor()

And fixes Premultiplied Alpha in PVR v3 images
And tests are updated with the new functions
Removes Hungarian notation

Removes Hungarian notation from the code.
Removes more Hungarian notation and more

Adds Touch::DispatchMode. Removes Layer::TouchDispatchMode
More const fixes

`Menu::STATE_XXX` -> `Menu::State::XXX`
Removes more Hungarian notation
Removes Configuration::Type <- I added it a few months ago, and it was not being used. It is safe to remove it
Merge pull request #3262 from natural-law/develop

[ci skip]Update the JS binding for plugin.
ccGLXXX -> GL::xxx

Adds GL namespace. Deprecates the `ccGLFunctionName` functions. New functions are `GL::functionName`

Also, converts the class `DrawPrimitives` into a namespace
Removes Layer::TouchesDispatchMode...

...since it is declared in Touch::DispatchMode
Fix armature supper fast
tools/project-creator -> tools/project_creator