Fix and cleanup Expanded Desktop Mode

no need to call state and mode several times from provider settings.
Cleaned up.

Also fix for the ugly lockscreen gap on expanded desktop
mode 1 and 3

And fix that mode changes reflects directly to the screen if
expanded state = 1

cheers

Change-Id: I8cc0d936af270d72f2fb5c005a28c575576d894b
Revert "allow widgets to minimize in extended desktop"

This reverts commit 82f753f089621957960b30702972b38f6fb4efdc.
Revert "Policy: fix keyguard statusbar showing while in ext desktop, fixes it in"

This reverts commit e56f15726fcf41119aac18c4bed0b98b9ef804ce.