app: Resize window according to preflet needs

Preflets can define minimumWidth and minimumHeight properties to control
the window size. For preflets that don't define a minimum size, the
default size is assumed.

For this to work we set the maximum size to the minimum size so the
user cannot resize or maximize the window anymore.

Issue: #27