[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
PT-BR: Update translation

Change-Id: Ie8f274d8230def9548414ce4177a6e64d4c5e383
CMStats changes.
Remove the notification on boot. Users are thinking they need to opt out to get rid of the notification.
The setting to opt-out still exists in the Settings app.
If the user does not opt out within 'tFrame' time (1 day), the checkin service will now run; prior
to this, the checkin service would not run until the next reboot. That next reboot could occur within a
few minutes (startup crash, which then automatically checks in before the user has a chance to opt out)
or even the possibility of never. This is unpredictable and buggy.
Change the checkin frequency from 7 days to 1 day.

Change-Id: I66a26a6c200710146c0de3832253417fae557e52
Settings: Danish latest merges + transition to new cm_ file format

Patchset 3: Added a missed translation (thanks Morten) + a new merge from today

Change-Id: Ic17deb745488427a1f803279bb6516bc254e5ba9
Settings : Fr translation

Patch set 2 : add translation
Patch set 3 : standardize "Advanced settings"
Patch set 4 : rebase, add translation

Change-Id: Icc63c9f3a97f6514498fd85260e6ac1aeee98485
Merge "PT-BR: Update translation" into cm-10.1
Settings: Reorganize Hungarian translations

Change-Id: If747dfa4b590d19b55fa7fd1d6a8102d53ad4005
Settings: Update Polish translation

PS2: Added latest strings, reorganized CM strings
PS3: Deleted some comments
PS4: Changed "Dźwięki zasilania" for "Dźwięki ładowania"

Change-Id: I3d07ae6938753a0862c2a403363df8751b7de722
Settings: PT-BR update translations

Change-Id: I4f4cec10ac62cd907c52e7d4b0260f9c48c481ce
Merge "Settings: Update Polish translation" into cm-10.1
Merge "Settings: Reorganize Hungarian translations" into cm-10.1
Merge "Settings : Fr translation" into cm-10.1
Merge "Settings: Danish latest merges + transition to new cm_ file format" into cm-10.1
Overhaul auto-brightness level UI.

This changes a few things:
- Don't imply a 'bucket' type of algorithm is used by showing an ambient
  brightness range for each line
- Allow manually entering the screen brightness
- Add a preview window for the cubic spline interpolation
- Add a help text

JIRA:CYAN-612
Change-Id: I64274280872b9fe4f6fdc368d654aca81e0a4e0c
Improve brightness curve preview

- Avoid log spamming
- Add a little margin around the grid so outer control points aren't cut

Change-Id: Idb6cd2773186f9e7011486dc62f21e2fab85e245
Settings: Reorganize Greek translations

Revert AOSP strings
Rearrange CM additions.
Slight reword of some strings to match original English strings
Add translation for:
* volume/dock battery/expanded desktop tiles
* swap volume buttons
* ad-hoc
* pie controls
* stylus gestures
* overhauled auto-brightness

Change-Id: Ia65cecf70f8e58542329bc111fb0bcd5aa75ad37
Correctly restore brightness customize dialog hierarchy.

This is especially important when rotating the device.

Change-Id: Iaf1ceb46943e9d0a171d6a75d3d446dbec205095
Settings: Simplified Chinese Translations

Updated translations and reorganized all CM strings into cm_arrays.xml
and cm_strings.xml respectively.

Patch Set 2: Made the changes suggested by Engle Mars, as well as
deleted all comments as per the new translation policy. Also added some
new strings.

Patch Set 3: Updated with new suggestions and strings.

Change-Id: I03cdf2864a3f17b9a7fcc48d6d4acab0e684ba30
Settings: Update italian translation

	Apply a little correction
	Add wifi country codes

	Patchset 5: Update Pie controls translation according to commit  #35342
	            Update power widget translation

        Patchset 6: Add stylus gestures strings

Change-Id: I63978447e967903bfcd4153795460d8881afeb09
Settings: Update Polish translation

PS2: Fixes

Change-Id: I292f5b0a62b8d2ab5716418942061cc1985fd17c