Moved OS specific keycodes to OS specific event.h

Also removed CC_KEY_UNDEFINED since this is no longer an enum.
X11: please revise the use of the io folder and two 0 returning
functions? keycodes which are event related can now be placed in the os
specific event header.