GlobalActions: Cleanup dialog and create POWERMENU intent

* Bring back a lot of deleted code from factory or other sources that is present in AOSP

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

Conflicts:
	core/res/res/values/arrays.xml
	core/res/res/values/symbols.xml
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
ShutdownThread: Cleanly shutdown when powering off

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

Conflicts:
	services/java/com/android/server/power/ShutdownThread.java
PWM: Open powermenu on power button press

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
Add screenshot to power menu

* Also move our strings and symbols to *_custom.xml

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
ShutdownThread: Sleep instead of snore

* the MX series does not have a PMU, and therefore can not shutdown
* Set device to sleep

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
Read ethernet mac from correct location

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
PowerMenu: Implement our own method of shutdown

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
PWM: Go home on power on from 'shutdown' state

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Fixup previous commits

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
Turn off LED during 'shutdown'

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Merge branch 'kitkat-staging' of https://github.com/Matricom/frameworks_base into kitkat-staging