Added Method to create a CCMenuItemToggle from a CCArray with a target selector.
Refactored and fixed almost impossible memory leak.

Previously curl_slist_free_all(cHeaders) called in loop after
many break statements, so there was no garantue that it will be called
in all cases.

This change also simplifies code to make implementing PUT/DELETE methods
easier.
network: Added PUT and DELETE request types
Added additional CCLOG to CCFileUtils::fullPathForFilename

There's currently no way to be sure, from a calling function, that
fullPathForFilename has returned an invalid file path, which makes it
difficult to quickly track down missing, or incorrect file paths. Added
a CCLOG before the original string is returned to make debugging
missing or incorrect file paths easier.
Update CCNode.cpp

注释错误
memory leak when preloadEffect
Optmization to ccArrayGetIndexOfObject

Optimized loop of ccArrayGetIndexOfObject to remove the overhead of 3
pointer dereferences per iteration, and pre-increment the int for
speed. If this function is called a lot, and with a large list, this
will result in a good performance win.

This can probably be done with just pointers, but I haven't taken the
time to validate all function calls to make sure it would be
appropriate. Though I can guarantee that if this worked fine before, it
will work fine with this change.
Add PVR.CCZ encryption support to ZipUtils based upon http://www.codeandweb.com/texturepacker/contentprotection
Add sample to TestCPP.
issue #2103: Add more lua test case
Promote global functions and variables for PVR decryption to ZipUtils class.
Rename PVR decryption functions and variables to better fit in the Cocos2DX framework.
Improve log error notes.
Update TextureAtlasEncryptionTest to match revised function call in ZipUtils.
Update ccSetPvrEncryptionKeyPart documentation to clarify that encryption is never 100% secure.
Fixed issue when non-ascii string used in script
Add libjpeg linkage.
Update AUTHORS
Merge remote-tracking branch 'origin/master' into emscriptenate
Update AUTHORS
Update AUTHORS
Updating http test url, removing www prefix.
Merge pull request #2143 from CodeSnooker/master

Added Method to create a CCMenuItemToggle from a CCArray with a target selector
Update AUTHORS
fixed #2123: Refactoring network extension, fixing unlikely memory leaks, adding PUT/DELETE methods.
Merge branch 'curl_raii' of https://github.com/sergey-shambir/cocos2d-x into sergey-shambir-curl_raii

Conflicts:
	extensions/network/HttpClient.cpp
	samples/Cpp/TestCpp/Classes/ExtensionsTest/NetworkTest/HttpClientTest.cpp