Framework: Forward 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
	policy/src/com/android/internal/policy/impl/GlobalActions.java
Forward port CM Screen Security settings (Part 2 of 2)

Patch Set 1:	Quick Unlock
Patch Set 2:	Lockscreen Vibrate
Patch Set 3:	Slide Lock Delay
Patch Set 4:	Menu Unlock
Patch Set 5:    Rebase
Patch Set 6:    Home Unlock

Change-Id: Ie1ccaec43ca75474e92f96c60e15d7b75796ac5f

Conflicts:

	core/java/android/provider/Settings.java
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardAbsKeyInputView.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewMediator.java
LockScreen: allow long-press actions from hardware keys (1/2)

Allow following actions with button long-presses on lockscreen:
- toggle flashlight (if available)
- play/pause/next/previous track selection
- toggle silent mode

Allow customizing of back, menu, and home buttons. Search
button events are completely ignored on the lockscreen.

Auto-detect hardware keys, only show appropriate menu
options based on the actual hardware keys available on the
device (or completely hide if there are no hardware keys).

Based largely on Danny Baumann's work from gingerbread.

Ported from CM10

Change-Id: Iff32736d00ca5d4122f64a6a861bbb0a1de9cca9

Conflicts:

	policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java
Framework: Port CM9 features to CM10
This commit includes:
 - Profiles

Change-Id: Ibd63116df90b06f6ce6adb8a0343059bbb999bfb

Conflicts:

	core/res/res/values/strings.xml
Port "Option to control cursor in text fields using volume keys (1/2)"

This feature is moved to framework so it also works with third party keyboards.
Patch Set 3: Added missin @hide statements

Change-Id: I8e20240e7bee5351ab20bb3d701eb95a5fd3e112
SystemUI: show date on 2 lines in status bar

This allows showing of the full day of the week, and removes
the blank space above the date (which always felt strange to
me when clicking it to access the calendar).
It also fixes a spacing issue on smaller screen devices that
causes the quick settings button to be partially chopped off
when the AM/PM clock settings are enabled.

Change-Id: I715b88ac16b9180f0dc7ce3bf47a1f9198295cf9
Before: http://imgur.com/UzkFe
After: http://imgur.com/UXoBJ