Fix status bar Clock events

Change-Id: I675d92d8f9bb497c9299867f62873d309def4fc4

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
Fix mobile data power widget button

Completely reworked to track modile data enabling from outside.

Fix long press to mobile data settings

Patch Set2: cleaned pesky white spaces

Patchset 3: rebased

Change-Id: Ie9b2e12d7e2fff9c4b174c07f341fc1eff32d1ed
[Frameworks] Add clock styles and Clock color picker (1/2)

This commit is a combination of CM AOKP and SLIMROMS work

features:

- Clock and date enable/disable
- Clock and date position
- AM/PM styles multilang support
- Fully customizable date in style and format
- Fully dynamic settings

Patchset 2
- cleanup

Change-Id: I73d854ed5cfb57fa19e4b5554bb10cb2e1ce9b65

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout/status_bar.xml
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
Some clock fixes
QuickSettings : Auto-rotate toggle fixes

Use RotationPolicy to avoid unecessary code and stay consistent
with rest of the system.

Change-Id: Id3532c10db5f6fc9c2a97ffb809c2c3674f16918
SystemUI: Use Settings.Global.getInt to read global settings

Settings.Global.getInt should be used instead of Settings.Secure.getInt
to read global settings.

Change-Id: Icf8b9b2c9f04d4a111e5cc165e090aeb996f91b1
SystemUI: Request CHANGE_NETWORK_MODE permission

com.android.phone.CHANGE_NETWORK_MODE permission is required for the
network toggle to function properly

also 4G permissions are required for us

Change-Id: I88a6f6705553fcb08bee5e8308e89395a4749e4f

Conflicts:
	packages/SystemUI/AndroidManifest.xml
Quick Settings: Add Network mode tile (part 1 of 2)
Also squashed commit QuickSettings : Dismiss notification panel upon toggle
By Author Danesh

Tile drawables credit to Bjorn Lunden

The tile requires http://review.cyanogenmod.org/#/c/28699/ to function

This commit also inlcudes a bit of code cleanup and sets the
default tiles to AOSP defaults

Change-Id: I15371989bb2ce977d1b715e52d9c92c27ea108ca

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/MobileNetworkTypeTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
wifi: Allow Settings to retrieve country code

This makes getCountryCode behave like getFrequencyBand

This allows Settings to get/set country code like
it can for frequency band.

Change-Id: Id9f00d3a678642c6c142fd1511af820d729507a7

Conflicts:
	services/java/com/android/server/WifiService.java