Cherry picks from AOSP / CM Recovery
6.48.5: CWM dies here

Start of previous commit (cherry pick AOSP...), PhilZ Touch will break with CWM upstream

Further commits will merge more changes from AOSP/ CM Recovery
At some point, this could stop and we move to c++

For now, stick to 6.48.4 as release version. For now, this is still work in progress
aosp / sr cherry pick
fix potential segfault
sideload: aosp/sr cherry picks and fixes
fix compile error
6.48.6
revert legacy path workaround:

We no longer need this as recovery can properly mount the legacy /sdcard path
AOSP cherry pick:

- remove OTA firmware update pre-Froyo compatibility
- Install Zip: more AOSP cherry picks
reboot: match aosp / cm boot code

we still allow compatibility with older boot commands
ui: aosp cherry pick
Intsall zip: start with indeterminate progress

This offers a nice GUI when installing packages without set_progress commands
Always reboot on timed out key input

This also fixes a bug where time out would validate first menu
6.48.8 (work in progress)

Latest stable is 6.48.4
We're moving to AOSP compatibility to no more depend on now poorly supported CWM
Merge remote-tracking branch 'philz/cm-11.0' into cm-11.0