Reorganize testall in masterfiles so that it saves its environment.

This makes it much easier to call with the correct parameters directly
from the command line.
drop folder inside lib not need by cf-twin 

We dont required cf-agent to copy each and every thing from lib to lib-twin in order for cf-twin to run, a simple fix to ignore git-core related binaries and libraries located inside the lib.
Merge pull request #89 from sudhirpandey/patch-1

drop git-core folder inside lib not need by cf-twin
Need to use apt and yum for package updates.

If we don't use those package methods, then available updates will not
be listed in the Mission Portal.
Remove leftover inventory file.

All the necessary package code is in any.cf.
Remove incorrect detection of installed patches.

The package_patch_installed_regex is used to identify patches that
have already been installed, but that is not what yum does when run
with "check-update", it list patches (which are just packages) which
have *not* been installed. Therefore remove this identification and
assume that all listed packages are available patches that can be
installed.
Some package test fixes for RedHat.
Don't use package promises in test initialization phase.

It's better to use explicit commands so that we don't risk the test
passing because the initialization did not work correctly.

This revealed a few new failures, some of which were fixed by tweaking
the package promise constraints, but one test case could not be fixed
without breaking the test case premise, so it was moved to staging
(associated with Redmine #1535).
Merge pull request #90 from kacfengine/testall_and_packages_test_fixes

Testall and packages test fixes
Merge pull request #88 from tzz/bugfix/readmine4046-update-git-permissions

Redmine#4046: update_policy.cf should not clear permissions of git-core
Add path to nologin shell for Debain and RedHat
Merge pull request #91 from nickanderson/paths/nologin

Add path for nologin shell in redhat and debian
inventory: move control to def.cf, add simple CMDB loading code
inventory: adjust default behavior for default disable, dmidecode, CMDB, and LSB
inventory: use nth() with string/int key as needed to get classes and variables
inventory: adjust run controls a bit