Add generic scene method to CCLayer

Added a generic scene method to CCLayer.