Improves pausing.

Pausing and restarting are now done via applicationWillResignActive and
applicationDidBecomeActive.  Apparently, this is the cocos2d approved
way.  Crossing fingers it won't have framerate issues on the iphone.