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().
fix copy-paste error, all spxxx_to_jsval use lower case and add missing data structs getAttachment;
Merge pull request #5362 from ucchen/develop

closed #4037: fix copy-paste error, all spxxx_to_jsval use lower case;
[AUTO] : updating submodule reference to latest autogenerated bindings
Merge pull request #5363 from CocosRobot/updategeneratedsubmodule_1392358937

[AUTO] : updating submodule reference to latest autogenerated bindings
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]
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.