Work in progress

Remove unused ibus function.

[endlessm/eos-shell#3425]
Work in progress

Untested first attempt at implementing keyboard detection algorithm.
Currently requires pc105.tree in the current working directory.

[endlessm/eos-shell#3425]