fix tolua_fix, cleanup peertable after object deleted
issue #2771: finish OneWayPlatform demo and fix some bugs
issue #2771: delay load
issue #2771: enhance API and add Slice demo
issue #2771: change some coding style
added | operator for Control::EventType
issue #2771: fix physics test compile error
issue #2771: move header definition to first line
issue #2771: make api more friendly
add Sprite::setScale(float, float)
ignore output files from script make-all-linux-project.sh
continue replacing `const char*` with `const std::string&`

This patch includes:

* Continue replacing `const char*` with `const std::string&`  where it makes sense.
* It also removes some Hungarian notation from the code.
* It fixes some indentation issues in part of the code
* It replaces `int` or `unsigned int` with `long` where it makes sense.
temp commit
Merge branch 'develop' into develop_nutty_Mergemasterbranchtodevelopbranch
issue #2771: fix body and joint memory bugs. add removeFormWorld and destroy to PhysicsJoint, and add a destroy param to PhysicsWorld->removeJoint()
issue #2771: fix PhysicsWorld some bugs
issue #2771: fix PhysicsWorld functions name readadd/removexxx -> doadd/removexxx  delayTestAdd/Removexxx -> add/removexxxOrDelay
Reslove the linux compiled error
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developCheck
issue #2771: change rayCast and rectQuery callback class to std::function