Fix and unit tests for CCPhysicsBody.allowsRotation
Merge pull request #6 from cocos2d/develop-v3

Fix and unit tests for CCPhysicsBody.allowsRotation