Settings: Forward port Volume button music controls

FW side already exists.

Original author: Danesh Mondegarian (devatwork)

Change-Id: I174fa5ec72e36e29d7c8d139213905f3327f6aae

Conflicts:
	res/values/strings.xml
	res/xml/sound_settings.xml
	src/com/android/settings/SoundSettings.java
Notification sound-to-vibration conversion toggle

Allows to change the new feature of AOSP 4.2, where all notification are
changed to vibrations on vibrate mode. Instead, allow the old behaviour
to silence sound notifications and to only play vibrations if desired.

Alle credits go to romanbb from AOKP, I just ported it, changed the
position in the menu and the label.

Original AOKP-Commit:
https://github.com/AOKP/packages_apps_Settings/commit/e92446576c2dfbe51089287c43c3f799b5cc0057

Patch set 1-6 : Initial commits
Patch set 7   : Better wording of the summary string
Patch set 8   : Lower case app

Change-Id: I267fc4b62ff045f305cf29c1b4f365e91f7cf1db

Conflicts:
	res/values/strings.xml
	src/com/android/settings/SoundSettings.java
[2/2] Power connect/disconnect notification support

part 1/2: frameworks/base PowerUI and Settings
http://review.cyanogenmod.org/#/c/35241/

part 2/2: packages/apps/Settings Sound settings
http://review.cyanogenmod.org/#/c/35242/

patchset 3:
    set settings persistence and dependencies in xml resource file
    shrink long lines
    add the default notification tone to the ringtone picker and
        remove the now redundant "use default" checkbox
    move values/strings.xml content to the cyanogenmod section
    improve (mostly delete) wording in values/strings.xml
    remove tab whitespace

patchset 5:
    move strings to cm_strings

patchset 6:
    make vibrate optional (default on)
    change heading text: power notifications -> power sounds

patchset 7:
    hide vibrate option if hw capability doesn't exist

patchset 8:
    change vibrate to default to off

Change-Id: I7ddd8a47ae4f9a62c586023d151ac42bbe8424c7

Conflicts:
	res/values/cr_strings.xml
	src/com/android/settings/SoundSettings.java
Power sound notifications: fix ringtone picker title

Change-Id: Ied0a08ec1607b778324e69a7b40bac056235bebf
Add an option to allow a (subtle) notification vibration during calls.

Change-Id: I7dfbb64334e0e8e7f98d38bf503c053ff1880658
JIRA:CYAN-1550

Conflicts:
	res/values/cr_strings.xml
	res/xml/sound_settings.xml
	src/com/android/settings/SoundSettings.java
Cleanup: Don't use getApplicationContext() where not needed.

Change-Id: Ie2232857cf88c98c9f2b76996a500e3d3696e6e2

Conflicts:
	src/com/android/settings/SecuritySettings.java
	src/com/android/settings/cmstats/ReportingService.java
	src/com/android/settings/cyanogenmod/NotificationDrawer.java
	src/com/android/settings/cyanogenmod/QuickSettings.java
	src/com/android/settings/cyanogenmod/QuietHours.java
[1/2] Permit home button wake to be configurable

To activate, enable bool config_show_homeWake in
device overlay/packages/apps/Settings/res/values

Change-Id: I00afe89ba5bf36d74b93a40b9d15eef2e805611f

Conflicts:
	res/values/config.xml
	res/values/cr_strings.xml
	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java
Settings: Configure wake on Power, Home or Both [2/2]

Allows users with Home button to specify which buttons to use to wake
device. Options are:

- Power Button only
- Home Button only
- Power or Home Button (default)

Essentially the same as current functionality, but now enables user to
"disable" Wake on Power Button, by selecting "Home Button only".

Note: requires config_home_wakeScreen device overlay:

packages/apps/Settings/res/values/bools.xml

Based on Xposed addon by Daniel Bergløv aka SpazeDog
https://github.com/SpazeDog/xposed-additions

PS 2: change default to Both, refactor

Change-Id: If45e537532d3f877c272e37253de3f70831b67bf

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	res/xml/display_settings_rom.xml
	src/com/android/settings/slim/DisplaySettings.java
Small clean up

-Rearrange some options
-Clean up some strings
-Move Show 4G icon option to Carbon Fibers
-Add default launcher settings shortcut under Carbon header