added gesture support for LatinIME

Change-Id: I464420b2a1159c66e4afc97c6d5015041033689f