openshift.ks: Delete redundant nl variable

Re-apply commit 5cfcbcfc460a5b8ac36fbe8c7864f963db5409ff, which was
inadvertently reverted by commit d54a587a8170e37fb1d0362c4d416b48acb82a2e.
Merge pull request #101 from Miciah/openshift.ks-delete-redundent-nl-variable

openshift.ks: Delete redundant nl variable
Refactor oo-admin-check-sources.py, add repo_db.py for resolving repo attributes

This commit adds the repo_db module, which provides functions for
resolving repoids or lists of repoids against lists of "blessed" repos
and their expected or assigned attributes. For example, you can use
the enabled repos + installed packages on a system to guess the
version (by comparing against repoid and key_pkg attrs) and then use
that to verify the version and roles specified by a user.

oo-admin-check-sources.py has been rewritten to use repo_db, and also
changes the RHSM/RHN entitlement handling. Now "hybrid" systems aren't
supported, but rather for systems with both RHSM and RHN
subscriptions, RHSM is preferred unless all OpenShift channels are
provided by RHN.

This revision also adds version detection, so theoretically OpenShift
Enterprise 2.0 should be supported.
Merge pull request #102 from dobbymoodge/check-sources

Refactor oo-admin-check-sources.py, add repo_db.py for resolving repo attributes

Some cleanup of oo-admin-check-sources.py remains, but ready for testing.
openshift.ks: Fix RHN channel name for RHSCL
Merge pull request #105 from Miciah/openshift.ks-fix-rhn-channel-name-for-rhscl

openshift.ks: Fix RHN channel name for RHSCL
<oo-admin-check-sources.py> Bug 1022828 - fix subscription/version detection

Added logic to guess_ose_version to fall back on existing repos to
determine subscription type if no blessed repos are available

Improved subscription/version output
Merge pull request #107 from dobbymoodge/check-sources

<oo-admin-check-sources.py> Bug 1022828 - fix subscription/version detection
<oo-admin-check-sources.py> Bug 1022825 - fix RHSM enable repo advice

This updates the output for RHSM to give correct instructions on how
to enable a currently disabled repo. This advice indicates the
subscription-manager tool, which will work right now and in upcoming
versions of the RHSM system (unlike the yum-config-manager tool, which
will only work for vanilla Yum repos in the future).

This commit also includes:

* fix erroneous reference to method calculate_enabled_repos(), which
  was removed in a previous revision.

* replaced _print_report method call with calls against logging()
  object logger

* cleaned out obsolete methods (_print_report, etc.) and member
  variables (replaced by repo_db module)
Merge pull request #108 from dobbymoodge/check-sources

<oo-admin-check-sources.py> Bug 1022825 - fix RHSM enable repo advice