Fixes #1 - Application crashes when updating preedit with no focus object

maliit-server can update preedit even if appliction has no focus object. Check
for existing focus object before sending the preedit event.