move key loading to verifier code

Add an option to verifier_test to load keys from a file, the way the
recovery does.

Conflicts:
	verifier_test.c

Change-Id: Icba0e391164f2c1a9fefeab4b0bcb878e91d17b4
recovery: save logs from the last few invocations of recovery

Extends the last_log mechanism to save logs from the last six
invocations of recovery, so that we're more likely to have useful logs
even if the device has repeatedly booted into recovery.

Conflicts:
	recovery.c

Change-Id: I08ae7a09553ada45f9e0733fe1e55e5a22efd9f9
Revert "Use fstab v1 as a default."

This reverts commit 1a6c91fcbc16f90b3dcbc9cef3e1052c84a40ffb.

Change-Id: I5fb1105bfb640f0552ddcc4a99b6f98487a1c946
recovery: ignore voldmanaged volumes

Voldmanaged volumes use sysfs path instead of device
path which is not supported by recovery, so a separate
entries for /sdcard and /external_sd are required.

We ignore these volume so we don't show the menu for
"mount /storage/sdcard0", etc.

Change-Id: I6bf26e0ad3fb59579c986cf5537f9e70448891e9
Update wipe data option confirmation

This commit allows the wipe data/factory reset option to recognize the
.one_confirm or .no_confirm files in the clockworkmod folder.

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Ib0f82b4448e3b9df95a5e59a49428f3e9da58578
Add sdparted option to partition in ext4 fstype

Taken from PhilZ Touch recovery

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I079617fc32f8ad0aea754a60898cd4f9cc482524
unlink() equals remove() in this situation can cause data loss and filesystem corruption if some data is not sync when mount sdcard

Change-Id: Ib3ad32842fcbf3b058c986df6901c7744bd5cf1f