support ibus-1.5 in git

Port to new api with the reference from Caius.Chance's tarball