[cocos2d] CCLayer: split for ios/osx

CCLayer is so different tht it's better to have 2 different interfaces
instead fo a lot of #if.
Finally implement the CCAccelerometerDelegate
Also fix the interface which was not quite right for none of the
profiles