init: reboot detection.

-Requires TARGET_REBOOT_PRE_COMMAND to be implemented. Allows
us to detect a reboot situation and disable charging mode so
we can boot normally.