Keyboard settings: add default values to the settings

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
inputplugin: fix orientation detection on portrait devices

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
inputplugin: resize the keyboard's window to its content

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Merge pull request #1 from Tofee/tofe/work

Tofe/work