libtar: Add const qualifiers to reduce compile warnings

Change-Id: I06ffeeba81cccd5b4c39c9d131de73311931c416
minitar: match GNU tar

- patch 1 : prepare for recovery
- patch 2 : support long options
- patch 3 : formatting
- patch 4 : fix getting and setting symlinks context (from TeamWin)
- patch 5 :
    * default to stdout/stdin like GNU tar
    * force use of -f option like GNU tar for all 3 mode operations (create, extract, list)
    * enable use of stdin for list mode
- patch 6 :
    * add -T (--files-from) option
    * clean up code and fix all leak memory issues on exit
    * return codes match GNU tar
- patch 7 :
    * fix all compiler warnings
    * rename sources to match minitar binary building
- patch 8 : always error on failure to get secontext when --selinux option is used
- patch 9: add options help and a mini change log
- patch 10: minitar: build as a static library
            For use in multi-call binaries such as recovery.
- patch 11: improve debug logging on failure
- patch 12: default to gnu tar format
    * fix command options for tar format (posix vs gnu)
- patch 13: fix ustar format backups
- patch 14: fix a few memory leaking issues
    * add some commented debugging code
- patch 15: add --numeric-owner option
    * remove unused -g option
- patch 16: use -p (--preserve-permissions) option for selinux context
Change-Id: I9261db1e7820868a336d1180113f1b2681a1f52f
Merge pull request #1 from xiaolu/cm-11.0

Merge update from xiaolu:cm-11.0