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