Fix mkfs.f2fs calling in roots

Change-Id: I4991732be70a7e9ae7e87fa1395e89b315717049
Fix recovery reboot command by adding the init sys.powerctl property control

Change-Id: I57c4c39135eb690340c933b5f696c70020f7b31d
fix display current path when navigating backward in folders

do not use static pointer in re-entrant function

clean up unused variable

Change-Id: I103f5de7561d1ffcdb6893f7a704ab906ee2b31d
fix compiler warning

Change-Id: Id552abe520856cc651582476b192d0fefa76b6d3
Fix mass storage in recovery

The proper order is mass_storage,adb. Some systems cannot recognize
the mass storage otherwise.

Change-Id: I7e240210adef52de70776353a3426e3fc3f1b5bc
Merge "Fix mass storage in recovery" into cm-11.0
Merge remote-tracking branch 'cm/cm-11.0' into kk4.4