clean up code
6.46.3 / libtouch_gui 1.25
limit use of static variables in functions
Support recovery lock:

- requierd passkey of 6 chars
- any hardware key can be used, include power and back keys
- max of 3 trials allowed
- setup lock key from PhilZ Settings menu
- start up scripts are allowed
comply to stock CWM sources
6.47.3 / libtouch_gui 1.26
Merge remote-tracking branch 'philz/cm-11.0' into cm-11.0