Extended Powermenu (Squashed)

Port reboot option to Power Menu.

  * Ported from ICS, including hot reboot (overlay still needed).
  * Quite a bit changed from ics -> jb, so i just did this manually.
  * drewis - manual port from pm to power for ShutdownThread for 4.2

 This is the 2nd commit message:

power menu: fix a few things that got lost during reboot options port

* Shutdownthread stuff already applied

 This is the 3rd commit message:

Extended Power Menu - Screenshot

This adds the screenshot option to the device power menu and leverages
the built-in ICS functionality to take the resulting image.

It is dependant on the Extended Power Menu - Reboot commit

 This is the 4th commit message:

power menu: use only stock options when DISABLE_TOOLBOX is set

 This is the 5th commit message:

fwbs: Add support to individually hide power menu options.

 This is the 6th commit message:

frameworks: Add a setting to specify the screenshot delay.

 * Only works from power menu
 * Defaults to 1 second (1000ms)

 This is the 7th commit message:

Remove GB alert drawable from reboot menu

 This is the 8th commit message:

Framework: fix reboot dialog title for tablets

Change-Id: Iea99bc542b20df728965233a94de6b1b172ef974