Implement resize capability for Plasma dialog
This patch only adds the capability to the dialog class; other patches are needed to bring the real feature to the user. This patch is intended as transparent for elements not using the resize capability. CCBUG: 332512