libcutils: implement reboot pre-command

-This follows the "recovery pre-command" model very closely.

-Allows a command to be executed before reboot.

Note: This is specifically for a standard "reboot", not a shutdown
or any other type of reboot.

Change-Id: I5bbb56169bf801f37f176f12e82458264101b36a