always do a clean reboot

Change-Id: I576c054dc5ab6a080e499f26c8cb2a66ecb8ae42
fix the following bugs to better handle new vold code
- do not show partition sdcard entries for vold managed volumes until we have a valid blk_device2. That also caused a memory overflow
- make it possible again to partition old style blk_device volumes
- enable format voldmanaged devices to ext2 and ext3 with existing binaries by using optional blk_device2 (defined in recovery to NULL but not currently implemented by fs_mgr
- fix unexpected behavior when in format/partition menus and insert an usb key (REFRESH return code)
- ensure_path_unmounted() could not unmount /sdcard path on /data/media devices
- format_device() and format_volume() properly handle /sdcard path argument on /data/media devices

Change-Id: I2d5872690805e70175ba1346fd03978e3c2b879e
Do not log to screen when mounting/unmounting sdcards.
This will preserve logging for format/usb mount and for all USB OTG storage

Change-Id: I0ab41632b4b97d23a43471755e21d9750c6cfa04
friendly write_recovery_version()

Change-Id: I43ad3d2600b9529d726aac435f0091713786ac4f
One less integer

Change-Id: Ie94b28694c12182652464c4b8e61ab4c67905b07
minui: Match API to AOSP

 * AOSP added a "bold" flag for image based fonts. Stay compatible
   with that API since there are other components using minui.

Change-Id: I6c0f12f7f8f1df8dd27779b47883ccff96f2d291
Add guard makefile for allowing simple recovery build

Change-Id: I6ec438f61cafce69c5083977c4330277f56aa060
Revert "minui: Match API to AOSP"

 * Breaks every device because of their deprecated graphics.c overloads.
 * Revert until we clean this mess up.

This reverts commit 48ccdcef23664c52d092875cef3585e828341914.
recovery: nandroid: implement preference for backup_format

ro.cwm.prefer.backup_format takes:
dup (dedupe)
tgz (tar + gzip)
(i.e. setprop ro.cwm.prefer.backup_format tgz)

-If nothing is specified or the above is not matched then tar is used.
-If the user specifies a default_backup_format then that is used.

Change-Id: I935d6cc732c5ef2b1d0d44f5459425e85702e710