Fixes full paths on Android (cleaner)

If one adds a search resolutions order directory without a trailing slash, CCFileUtils::getFullPathForDirectoryAndFilename will fail on Android. For example it will return:

assets/sdBg1.png

Instead of the expected:

assets/sd/Bg1.png

This small commit fixes the function to add a slash if necessary, fixing the issue on Android.

Compared to the last pull request of this name, formatting matches the style of code around it and comments have been added.
closed #2434: Use android_mk_generator.py to generate Box2D and chipmunk's Android.mk file
closed #2650: Remove ccTypeInfo since we could get the hash value from *typeid(T).hash_code()* if using c++11.
Adds more constants to Color

Adds more constants for Colors, in particular to `Color4B` and `Color4F`

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Adds 2 new performance tests

Invocation with `for_each()` and using `arrayMakeObjectsPerformSelector`

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Merge pull request #3464 from boyu0/iss2434_gen_android_mk

closed #2434: Use android_mk_generator.py to generate Box2D and chipmunk's Android.mk file
Merge pull request #3462 from ricardoquesada/color_constants

Adds more constants to Color
Adds missing #include
issue #2483: Updating VS projects to use the correct library (mozjs-23.0.lib).
Merge pull request #3461 from dumganhar/iss2650-remove-typeinfo

closed #2650: Remove ccTypeInfo since we could get the hash value from typeid(T).hash_code() if using c++11.
Merge pull request #3463 from ricardoquesada/perf_test_invocation

Adds 2 new performance tests
Merge pull request #3465 from dumganhar/develop

issue #2483: Updating VS projects to use the correct library (mozjs-23.0.lib).
[AUTO] : updating submodule reference to latest autogenerated bindings
Merge pull request #3468 from CocosRobot/updategeneratedsubmodule_1377229215

[ci skip][AUTO] : updating submodule reference to latest autogenerated bindings
Adding a new search path 'res' to TestJavascript since some resources are defined as hard code in ControlColourPicker::init().

bool ControlColourPicker::init()
{
    if (Control::init())
    {
        setTouchEnabled(true);
        // Cache the sprites
        SpriteFrameCache::getInstance()->addSpriteFramesWithFile("extensions/CCControlColourPickerSpriteSheet.plist");  // Hard code here

        // Create the sprite batch node
        SpriteBatchNode *spriteSheet  = SpriteBatchNode::create("extensions/CCControlColourPickerSpriteSheet.png"); // Hard code here
        addChild(spriteSheet);
Updating bindings-generator, it supports CCString. Some APIs, for example ControlButton::setTitleForState are using String as argument.
Merge pull request #3472 from dumganhar/develop

Adding a new search path 'res' for TestJavascript project and updating bindings-generator to the latest version.
[AUTO] : updating submodule reference to latest autogenerated bindings
Merge pull request #3473 from CocosRobot/updategeneratedsubmodule_1377245073

[ci skip][AUTO] : updating submodule reference to latest autogenerated bindings
Adds "Sort all Children" perf test

Adds a new perf tests: "sortAllChildren"

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>