Allocate a new IMContext.
References ScimBridgeClientIMContextImpl::mouseHandler(), SCIM_BRIDGE_IDENTIFIER_NAME, scim_bridge_pdebugln(), and scim_bridge_perrorln().