cwm: Add liblog dependency

Change-Id: Ic5716e5f2c311406bc6384e63fb0f217113e6eeb
Add a recovery version variable

the releasetools want this now

Change-Id: Ibc3cdbc8f5f8022bf51479a4702d1d0d043f70a9
Use fstab v1 as a default.

v1 is the old recovery.fstab format that everybody is still
using.
Devices using v2 should set RECOVERY_FSTAB_VERSION=2 in
their board files

Change-Id: Ie7221f110ecc594f6f92973d2c27da10f62b6431
Remove "fix permissions" option

Original discussion here: http://review.cyanogenmod.org/45559

Patchset 2: really remove the option
Patchset 3: fix options that I broke on ps2

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

Change-Id: I54877a24444c24a296c8c044efd977f30cc66de4
Add power off & reboot to bootloader mode in advanced menu

Also:
Cleanup leftovers from previous poweroff option
Always ensure a clean reboot (Thanks to PhilZ for his implementation)

Bootloader option defaults to "bootloader" (fastboot mode), it can be overriden
by defining "ro.bootloader.mode=download" prop for samsung download mode
We leave reboot to bootloader option always enabled, that way we can
override the get_filtered_menu_selection bug that breaks the order
of the options when NULLifying menu options.

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

Change-Id: I6d674b37ab41ab342b105993719277360b4707e4
Fixes for Superuser

Change-Id: I86a280088ee8767e02ba51b72f4d011cf4658f6f