Preparing to remove some dependencies

- moving "pm list packages" into separate function
- package list info now stored into global array for re-use
- helper added: in_array (check whether "needle is in haystack")
- started converting some external calls to "Bashisms" (less fork, more speed)
two more "forks" replaced by "Bashisms"
adding "test" output dir to .gitignore
Removed dependencies and replaced with "Bashisms"

- dropped getFrozenComponents(): doc/deadReceivers wasn't that useful anyway
- dropped processing of packages.xml via PHP (removed the call only)
- introduced new function getAppDetails() to substitute
- now retrieving app details from dumpsys instead of parsing packages.xml
Moving PHP code to tools/ subdirectory

- Adebar no longer depends on them
- they are kept included for potential "added benefit"
Adding tools/ab2tar to convert ADB backups to tar archives
Updated documentation to reflect latest changes
build.prop and packages.xml are now saved in the conf/ subdir