closed #2347: Macros like CC_KEYBOARD_SUPPORT should not be in header file.

Platforms which don't support keyboard will not get response since the 
```cpp
Director::sharedDirector()->getKeyboardDispatcher()->dispatchKeyboardEvent
```
will not be invoked.