[1/2] Base: Clock tweaks

PS5: changed to slim as base for commit:
- Clock and date enable/disable
- Clock and date position
- AM/PM styles multilang support
- color
- Date format
- Date style

PS6:
- Fixed build
- Removed color options because we don't have it for any other
statusbar objects.

PS7:
- fixed clock on lockscreen after reboot
- fixed clock transition
- cleanup

OmniGears: https://gerrit.omnirom.org/#/c/4939/

Change-Id: I9129067775d65119d27085f93efb798a7124ae2c

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarTransitions.java
Revert "Frameworks: Advanced Power Menu"

This reverts commit da0bff75ca45db6274a54e042f6fae6be7c2c03b.

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/beergang_strings.xml
	core/res/res/values/beergang_symbols.xml
Framework: Add Advanced reboot (2 of 2) By DvTonder

This commit responds to a setting in Development settings for including
options in the power menu for rebooting into recovery or bootloader. It
is defauled to off.

When enabled, the Advanced reboot options will only be available once the
device is unlocked.

Change-Id: I675f31de1f82c344c7923e953fd4a6e26dd036da

Conflicts:
	core/res/res/values/custom_strings.xml
	core/res/res/values/symbols.xml
[1/2] base: Power Menu: Add Screenshot Option

Adding Screenshot menu and functionality to Power Menu

Change-Id: Ic09c2f4eb1a3d3de825de638fa43f4158736a320

Power Menu: Add Screenshot icons for xhdpi, hdpi, ldpi and mdpi

Change-Id: I58f39b14995ca2ea78ca9a1c92f86de3e32c7cb9

Using Settings.System instead of Settings.Global for settings constants

Change-Id: I96e24d063f139c01b15b0a639c87c10d0f690106

Corrected Code formatting Errors

Change-Id: I96e24d063f139c01b15b0a639c87c10d0f690106

Conflicts:
	core/java/android/provider/Settings.java
[1/2] base: enable advanced reboot by default only if developer options are enabled

Change-Id: I707ba8b8366ec70cd920247d2ec8c52d6fc61431

Conflicts:
	services/java/com/android/server/power/ShutdownThread.java
[1/2] base: Power Menu: Add Screen record Option

Adding Screen Record menu entry and Functionality to Power Menu

Change-Id: I715cd91f2db7688ed2ebea18d219090aab4aebcd
Note: Screenrecord is broken on exynos based devices. Trying to record screen will result in device freeze

PS1: Adding Drawable resources for displaying in power menu. Courtesy: ChameleonOS
Change-Id: Ia34f68827576c5bc982f0377929376fa0d9b404d

Conflicts:
	core/java/android/provider/Settings.java
[1/2] Base: add more Power Menu actions

Make the power menu customizable from Menus settings in OmniGears.

added checkboxes for: airplane mode, sound toggles, and a new button for
mobile data toggle.

screenshots: http://goo.gl/ljQ0WA or http://imgur.com/a/THfuZ

part 2: https://gerrit.omnirom.org/#/c/3654/

Change-Id: Ie7d417c898ceeba47eb0c13f6dee934b025beee0

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/custom_strings.xml
Framework: Forward port Power menu reboot by DvTonder

This is a stripped down version of his power menu config patch

Change-Id: I5cc9f900bdb2bb1f0a11014a09f8c792cac850e7

Conflicts:
	core/res/res/values/symbols.xml