Fixed crashing when calling CCDirector's end().
issue #4039: set tilemap <object> x and y value to original, and add “position_x”, “position_y”, “size_width” and “size_height” value.
refactor tilemap xml format index count.
issue #3956:Change tolua_fix.c to tolua_fix.cpp and modify the toluafix_pushusertype_ccobject function to get real type of object
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developDynamic

Conflicts:
	cocos/scripting/lua/bindings/LuaBasicConversions.h
	cocos/scripting/lua/bindings/lua_cocos2dx_physics_manual.cpp
issue #3956:Replace Object with Ref
issue #3956:Remove the usage of “tolua.cast”
fix CCConsole crashed on windows, windows use send/recv(winsock) instead of read/write in unix to do socket i/o, create socketWrite/socketRead to wrap socket i/o function
merge upstream/develop
Replace “cc.object” with “cc.ref” for lua binding
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developFix
change the platform java path.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developDynamic
issue #3956:Update the related compile file
issue #3956:Remove some unrelated modification
Add some omitted modifications about “cc.ref”
Merge pull request #5443 from samuele3hu/developFix

Replace “cc.object” with “cc.ref” for lua binding
Merge pull request #5442 from Linghui/patch-1

Update README of template: fix wrong platform java path.
Update AUTHORS [ci skip]
fix compiling error cause by using 'fmaxf'.