main.c: remove previous main code. change event loop to dp_xims_event_loop
dp-xims-window: add dp_xims_window_get_xid; add X11 check in configure.ac (this isrequired by IMdkit
dp-xims.h: add some macros and structure definitions for xims