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.
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