Mike collected changes on kaio 1.6 branch

Combines all patches from

https://github.com/kaio/ibus-table/pull/9
https://github.com/kaio/ibus-table/pull/8
https://github.com/kaio/ibus-table/pull/6
https://github.com/kaio/ibus-table/pull/5

Does not contain

https://github.com/kaio/ibus-table/pull/7