updated swap:withNewIndex: in CCSpriteBatchNode.m

textureAtlas quads are not updated to reflect changes to the atlas index of a swapped object. in consequence the draw order does not change. 

related to issue #598.
Merge pull request #605 from kalo-/patch-2

updated swap:withNewIndex: in CCSpriteBatchNode.m