closed #2766: Memory leak in the binding glue code of cc.FileUtils.getStringFromFile(getByteArrayFromFile).
Merge pull request #3539 from dumganhar/iss2766-memory-leak-master

closed #2766: [master] Memory leak in the binding glue code of cc.FileUtils.getStringFromFile(getByteArrayFromFile).
1. Modify files directory.
2. Merge ui newest verison.
3. restruct scene reader.
1. fixes CCParticleSystemQuad bug。
2.revert CCSprite.
1. update cocos2dx ext mk files.
1. CCBMFontConfiguration* getConfiguration() ->  CCBMFontConfiguration* getConfiguration() const;
2.  for (int i=0; i<actionList->count(); i++) ->  for (unsigned i=0; i<actionList->count(); i++)
3.  add #include <algorithm>.
1. update TestCpp mk files.
1. update testcpp mk files.
1. update UILib.
2. fixes failed to build.
2. fixes background music is played twice when it started.
1. update Samples，template  mac iOS project.
Merge branch '#4682' of https://github.com/chengstory/cocos2d-x into #4682
1.  fixes failed to build linux, nacl.
continue fixes failed to build on linux and nacl
1. "XXXX" will  be initialized after ….  .
2. fixes many comparison between signed and unsigned integer expressions.
1. fixes multi-line comment.
continue … failed to build..
1. modify nacl mk file.
1. remove unused variable  "version".
1. fixes linux mk  file  bug.