[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
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
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1