Framework: Forward port Power menu reboot by DvTonder

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

Change-Id: I5cc9f900bdb2bb1f0a11014a09f8c792cac850e7
Merge "Framework: Forward port Power menu reboot by DvTonder" into android-4.4