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 #3956:Add the conversional functions which are used in the templates of lua binding-generator
issue #3956:update the submodule
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developDynamic
issue #3708:Performance Test: data structure conversion in lua binding
simplify add custom command
update unit test
#3947 Simulate 'setTimeout' and 'setInterval' in JSB.
do not allow adding same commands
closed #3964, Solve the bug of logic code in method Image::saveImageToPNG().
use realloc to avoid memory leaks
use stl map to oprate command
delete un-used code
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]