Handling IME messages.

Virtual keyboard does not work in Crosswalk on Tizen common because
IME messages are not handled.

This patch allows to handle PreeditString and CommitString messages,
which enables the users to input text in web pages with the Weston virtual
keyboard on Tizen common.

Bug: https://crosswalk-project.org/jira/browse/XWALK-1450