QS/PW: Check for mobile data instead of telephony permissions (2/2)

For QuickSettings and Power Widget check if there is
ConnectivityManager.TYPE_MOBILE network avaialbe directly instead of relying
on a checking for the PackageManager.FEATURE_TELEPHONY permission.  Some
devices like tilapia (Nexus 7 GSM) has mobile data but does not set the
telephony permission.

Patchset 2:
	- Have power widget use the same logic as quicksettings to check for
	  mobile data

Change-Id: Ibe8059aaa5f3bd1e72e958608a34e89abfd0ad4a
Fixes: CYAN-803
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
PT-BR: Update translation

Change-Id: Ie8f274d8230def9548414ce4177a6e64d4c5e383
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
[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
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
Settings: Reorganize Hungarian translations

Change-Id: If747dfa4b590d19b55fa7fd1d6a8102d53ad4005
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
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
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
Added hungarian translations

Change-Id: Idd2688618de27d5c683537211a2101cdec3af5e7