Refactor #3922: Refactor basic getter/setter of CCSprite, CCTexture2D, CCLayer,