CCRenderTexture's -newCGImage method read pixels outside the render queue.
This lead to wrong previews in SpriteBuilder. After correcting this the image was flipped, fixed that as well.
Merge branch 'bugfix/3.1/sb#416_previews_screwed_up' of git://github.com/NickyWeber/cocos2d-iphone into develop