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>