Fix segfault with dead symlinks

If a symlink pointed to a non-existing directory, the path navigation
menu would crash when attempting to free the structs

Change-Id: Icd6e7dcc711645f82c5ac014fcacd506b95a2fc2
Store CWM Recovery Version Number

Patchset 1) Initial patch
Patchset 2) moved location of calls

Change-Id: Ie21fc92eca42bc12a8f04622153beef64c0e7ef7
Remove HAVE_SELINUX guards

Change-Id: Iddb0a977a8e809413defd4e7a9bb21311f5db862
6.0.2.10

Change-Id: Iff91c16f1ba46a9cc63df33e4278eb8ae5713ac0