Adds more 64-bit fixes

Replaces more `int` with `long` where it makes sense.

Also , it repalces some `unsigned long` with `long` for "lenght"
values as described in our c++ guideline
issue #3113: Updating CMakeLists.txt, Improve Copying files.
Uses `const std::string&`

... instead of const char*

* Because it is more robust
* and it is faster... yes faster.

It is faster because internally some of our classes use std::string
(like FileUtils and Dictionary) so converting back-and-forth from const
char * to std::string is very expensive.

It is faster to have everthing in std::string as soon as possible to
prevent further conversions.

There are still some parts of the code that require conversion, but
most of the code was converted.
Merge pull request #4101 from dumganhar/cmake-copy-file

issue #3113: Updating CMakeLists.txt, Improve Copying files.
Merge pull request #4102 from ricardoquesada/uses_string

Uses `const std::string&`
[ci skip]
[AUTO] : updating submodule reference to latest autogenerated bindings
Merge pull request #4104 from CocosRobot/updategeneratedsubmodule_1383718814

[AUTO] : updating submodule reference to latest autogenerated bindings
issue #3113: 32Bit fix and 13.10 32bit complication is ok.
Merge pull request #4107 from dumganhar/cmake

issue #3113: 32Bit fix and 13.10 32bit complication is ok.
Merge commit 'refs/pull/4099/head' of https://github.com/cocos2d/cocos2d-x into 64bit-fix
[Linux] compilation fix for PR #4099
Missing add "JSB_AUTOCOMPARTMENT_WITH_GLOBAL_OBJCET " before calling JS_CallFunctionValue
Merge pull request #4108 from dumganhar/64bit-fix

[Linux] compilation fix for PR #4099[ci skip]
Remove duplicate
Merge pull request #4109 from HoGarfield/JS_Call

Missing add "JSB_AUTOCOMPARTMENT_WITH_GLOBAL_OBJCET " before calling JS_CallFunctionValue
Update AUTHORS [ci skip]
Merge pull request #2 from cocos2d/develop

merge from official repo