Fix NSNotificationCenter and NSTimer leaks.

- Remove keyboard notifications from NSNotificationCenter.
- Invalidate NSTimer instance of the main loop.

Because, I'm creating a hybrid(UIWebView and Cocos2d-x) iOS application. So, we should fix the memory leaks.