encryption - plain text passwords encryption

So I am adding support for plain text passwords encryption (please note this
is encryption for passwords we need to keep - obscurity not security).

1) There is a new utility called katello-passwd (see man page or help
option) to encrypt a password.

2) Encrypted passwords start with $1$ (1 is for version 1) and it can only
be used for database-password setting (we do not have any other plaintext
passwords in Katello yet).

3) Katello can also read unencrypted passwords from this field (if it does
not start with $1$).

4) I will raise a RFE against Candlepin to do the same for database
password. Pulp is fine (no passwords there so far).

5) I modified katello-configure to use the function to encrypt database
password during installation.

6) Encryption is done with passphrase stored in /etc/katello/secure
directory, the file is deployed with katello-generate-passphrase and this is
automatically done by our installer. The file has extra SELinux protection
(it's not in the regular etc_t domain).
819941 - missing dependencies in katello-all (common)

We are currently relying on katello-configure's puppet manifests to install
qpid and mongodb RPMS. See modules/qpid/manifests/install.pp and
modules/qpid/manifests/install.pp.

We ideally will just add these to the katello-common set of Requires and not
be forced to have katello-configure catch this missing dependency.

Without this it makes it harder to pre-build systems with the right RPM set
and is misleading that you could remove qpid-cpp-server-ssl and nothing
would complain.

So I am adding those to katello-all package rather than katello-common,
because those are dependencies of backend engines which are also installed
in the "all" section. After this patch, we should not see any packages to be
installed using Puppet:

$ grep "yum.*install" /var/log/katello/katello-configure/main.log
reduce usage of require for code in lib dir

Code loaded with require is not reloaded in development mode after each
request and therefore it's needed to restart the whole server. Using
require_dependency instead might lead to memory leaks when some
constants are not marked for reload.

Since we have `lib` dir already in autoload paths we can let Rails to load
and unload the code automatically when following convetions. Therefore
modules under `lib/resources` dir were moved to `Resources` module so
that Rails knows where to find them. This change should also improve the
code readability: e.g. it's clearer where the Candlepin module is defined
now.
Automatic commit of package [katello-configure] release [0.2.21-1].
Merge pull request #120 from lzap/qpiddrpm_819941

819941 - missing dependencies in katello-all (common)
Merge pull request #111 from lzap/encryption3

816935 - encryption - plain text passwords encryption
Merge pull request #124 from iNecas/require-refactor

reduce usage of require for code in lib dir
encryption - fix running in development environment
encryption - fix problems with logger not being initialized

When running some tasks the logger might not be available when loading
configuration.
Automatic commit of package [katello] release [0.2.36-1].
Automatic commit of package [katello-cli] release [0.2.34-1].
Automatic commit of package [katello-cli-headpin] release [0.1.19-1].
Automatic commit of package [katello-selinux] release [0.2.5-1].
Automatic commit of package [katello-configure] release [0.2.22-1].
Automatic commit of package [katello-cli-tests] release [0.2.16-1].
cli registration regression with aks

With recent changes in systems part of our cli, we introduced issues with
for "system register" command. Both variants with environment provided or
with multiple activation keys (separated with comma) did not work.

This patch fixes both cli and backend API.
removing mod_authz_ldap from dependencies

We had mod_authz_ldap in dependencies, but it was unused. Since this package
is orphaned for Fedora 16+ and we do not use it, I am removing it.
Merge pull request #126 from lzap/cli_ak_regression

cli registration regression with aks
822069 - Making candlepin proxy DELETE return a body for sub-man consumer delete methods
Merge pull request #125 from ehelms/master

Froyo Branch and Converge-UI