fix string size check and assert condition

1. std::string::size() return size_t (is never < 0)
2. "event must be larger than 0" and 'event' has unsigned int type
issue #3708:Performance Test: data structure conversion in lua binding
#3947 Simulate 'setTimeout' and 'setInterval' in JSB.
closed #3964, Solve the bug of logic code in method Image::saveImageToPNG().
Merge branch 'develop' into issue3964
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_20140103
issue #3708:Remove the useless test case
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developPerformance
issue #3708:Remove some comments
Merge pull request #5368 from xingsenma/develop

closed#3947: Simulates 'setTimeout' and 'setInterval' in JSB.
Update CHANGELOG [ci skip]
closed #4048:fixed LabelTTFMultiline test case show nothing on mac.
Merge pull request #5367 from samuele3hu/developPerformance

issue #3708:Performance Test: data structure conversion in lua binding
closed #4054: Removing child from TMXLayer may cause crash.
closed #4054: Adds test for removing child from TMXLayer.
fix string concatenation

set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-std=c++11") which leads to list of strings.
The result is "-stdlib=libc++;-std=c++11"  if CMAKE_CXX_FLAGS is defined as "-stdlib=libc++"
Merge pull request #5372 from dumganhar/iss4054-tmxlayer

closed #4054: Removing child from TMXLayer may cause crash.
Merge pull request #5369 from Dhilan007/develop_labttfMultiline

closed #4048:fixed LabelTTFMultiline test case show nothing on mac.
Merge pull request #5374 from justmao945/develop

Correcting the definition of CMake variables.
Update AUTHORS [ci skip]