Fixed tilemaptest crashes when click 'next' button quickly
Invokes 'Node::onExit' only when the node is running.
Merge pull request #6343 from dumganhar/fixed-tilemaptest-crash

Fixed tilemaptest crashes when clicking 'next' button quickly, it could be reproduced on win32
Merge pull request #6352 from natural-law/develop

Solve compiling errors when some macros changed in ccConfig.h.