Hide Property Panel if engines have no properties.

If engines have no properites, Property Panel does not have to be shown.
Also resize the topdevel window when engines are switched.

TEST=ui/gtk3/ibus-ui-gtk3

Review URL: https://codereview.appspot.com/43260043