Add a syncWithRime method in inputController to sync XIME frontend and Rime service.
Add a session availability check before handling events.
Add RimeTypeDef.h, wrap some Rime structs in Objective-C NSObject.
Rebuild librime.dylib and utility tools to a stable version.