Bug 931378 Set input purpose to IM context r=karlt
Bug 749123 Don't use GtkIMContextSimple for IME disabled editor (GTK3 build) r=karlt