qml: refactor implicit size bindings and use insets
Now that Qt 5.12 is used, we can use helper properties and also apply insets. Insets are not used now, but it is important to take them into account when calculating the size.
Insets and input handlers are very useful to make the interface work fine with touch input.