imwayland: Use ibus update_preedit_string_with_mode feature
IBus update_preedit_string_with_mode feature sends the preedit text and the commit mode to the input method module.
This patch set updates wayland text input protocol to handle the preedit_commit_mode event, and use preedit_commit_mode to decide the input behavior when mouse click happens.
Also this patch set will send reset request by using disable/enable/commit sequence.