Fix extended powermenu and add hot reboot option

fix ShutdownThread not themed and update source code from CyanogenMod

Signed-off-by: htchoi1995 <htchoi1995@gmail.com>