Keyboard dispatcher and delegate.

Keyboard dispatcher and delegate added. NSEvents bypassed Obj-c dispatching in favor of direct call to c++ method. Delegate methods inherited into CCLayer with enabled flag.