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”
closed #3758:fixed character will not aligned on the the baseline when label using distance field.
Merge pull request #5434 from Dhilan007/develop_label

closed #3758:fixed character will not aligned on the the baseline when label using distance field.
Update CHANGELOG [ci skip]
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
Implements AABB culling for sprites
removes unsued function

keeps the code cleaner
Merge pull request #5437 from ricardoquesada/autoculling

Autoculling
changes in API to support 3D
culling working for both 2d and 3d projections
Merge pull request #5439 from ricardoquesada/api_fixed_for_3d

Api fixed for 3d
[AUTO] : updating submodule reference to latest autogenerated bindings
Merge pull request #5440 from CocosRobot/updategeneratedsubmodule_1393147268

[AUTO] : updating submodule reference to latest autogenerated bindings