Fixes for CC_SPRITE_DEBUG_DRAW.
Adding resolution based tilemap test.
Merge branch 'v3.0' of github:cocos2d/cocos2d-iphone into v3.0