Fix object leaks.

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