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.
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
use send/recv to replace write/read
use closeSocket() on windows
remove early cleanup
fix compile on windows
issue #4039: change name “position_x”, “position_y”, “size_width”, “size_height” to "converted_x", "converted_y", "converted_width", "converted_height".
issue #4039: change name “position_x”, “position_y”, “size_width”, “size_height” to "converted_x", "converted_y", "converted_width", "converted_height".
use closesocket insteadof close on windows
Merge pull request #5283 from seemk/director_cleanup_fix

closed #4099: Fixed crashing when calling CCDirector's end() on win32.
Update AUTHORS [ci skip]
Update CHANGELOG [ci skip]
Merge remote-tracking branch 'upstream/develop' into fix-console-windows-crash
remove unused declare
replace write() with send()
closed #3818: fix CC_SPRITE_DEBUG_DRAW feature
Merge pull request #5385 from boyu0/refactor_tilemap_xml_format_index

refactor tilemap xml format index count.