Cocos2D v3 refactoring, code improvements

Updated for Cocos2D v3
iPhone 4/5 Universal 
Replaced UIAcceleration with CoreMotion
Fixed iOS7 Issue