Fix and unit tests for CCPhysicsBody.allowsRotation