Bug 829912 - Check for null IME hints. r=jchen a=lsblakk

--HG--
extra : rebase_source : 7b3d486dbbec690c98291e29d479bf221db7c89c