Port Expanded desktop capability

Originally authored by Jesús David and ported from
        ParanoidAndroid ICS branch

Change-Id: I9f8491883cdd5bd78cf4754d322e00c7bc5b9ca5

Conflicts:
	core/java/android/provider/Settings.java