Merge pull request #6 from cocos2d/develop-v3

Fix and unit tests for CCPhysicsBody.allowsRotation
mixup NSColor returned from cocos2d for Mac.
Merge branch 'develop-v3' of https://github.com/apportable/cocos2d-iphone into develop-v3