Merge pull request #31 from PonsAsinorem/cm-11.0

BoardConfig.mk: simplify BRIGHTNESS_SYS_FILE
Dedupe: backup & restore selinux contexts.

Change-Id: I1f7168e7df0a2f0a27c3627209739c6385da1935
libtar:
 * fix gnu format backup of paths with exactly 100 chars
 * fix ustar format backups
 * fix a few memory leaking issues
 * add some commented debugging code
6.30.7
dedupe selinux backup: fix broken merge
merge from @xiaolu:
 * dedupe selinux backup: fix broken merge
 * when use dup format, skip generate *.context file
6.30.8
detail flag use
fix compile error when using BOARD_RECOVERY_USE_BBTAR
fix compiler warnings when using BOARD_RECOVERY_USE_BBTAR
6.30.9
dedupe: fix BUILD_HOST_EXECUTABLE.

Change-Id: I06945a71699b91935ae0857a59bffeae72e9d47a
6.40.0
libtouch_gui 1.20
   * support custom key files (BOARD_CUSTOM_RECOVERY_KEYMAPPING)
6.40.1
Revert "BoardConfig.mk: simplify BRIGHTNESS_SYS_FILE"

This reverts commit 1644df40303ad3fb250590df7b67aa55e94aa2ca.

Conflicts:

	boardconfig/BoardConfig.mk

 * We should keep track of every device BRIGHTNESS_SYS_FILE path as these should go under device/brand/variant/BoardConfig.mk file ideally
 * if no BRIGHTNESS_SYS_FILE path was defined, we should either IMMEADIATELY break compiling with a message error
 * eventually, we should add code to search for the brightness path in /sys on recovery load
Immediate error on missing needed flags for libtouch_gui
do not require libtouch_gui flags to be defined for non PhilZ Touch builds (Advanced Edition)
6.40.4
add function to find a file name in a given path