[Tizen] Fixes for InputMethod build breaks

InputMethod interface was changed, new virtual methods were
added and need to be implemented. Event related headers were
moved from ui/base/events to ui/events and X11 utility methods
were moved under gfx namespace.