Add rudimentary X Input Method support
Merge pull request #310 from doughdemon/xim

Add rudimentary X Input Method support