fixes #4636 - refactor OperatingsystemExtensions to RedhatExtensions and refactor MediumExtensions
Fixes #6211,BZ1102521 - Requiring a user to ping pulp_auth

It looks like the code didn't properly set User.current so Katello.pulp_server
was nil. This code checks for a user in the controller. Also, it handles the
case of no user by skipping the pulp_auth check which needs remote_id from a
user.
Fixes #5555 - fix org update action's apipie param

In the OrganizationController v2 update action, the param_group
resource contained hash named resource. This was not substituted
for organization. As a result hammer-cli-katello, through
api-bindings, was incorrectly expecting and passing resource instead
of organization to the update action. Subsequently no
organizations were being updated.

The param_group was redefined on the update action so that the param
hash could have the correct name, :organization.
fixes #6197 - moving host/guests to virtual_host/virtual_guests

This corrects conflict with foreman host link

rubocop fix

spec test fix
fixes #6215 - do not pass full objects to rabl

fixes #6215 - return available_content to products node

fixed test
Fixes #6245 : Add mongo and postgres logs to katello debug
Merge pull request #4264 from thomasmckay/6197-host-guest

6197-host-guest - moving host/guests to virtual_host/virtual_guests
Merge pull request #4266 from thomasmckay/6215

fixes #6215 - do not pass full objects to rabl
Fixes #6147 - filter both org and env in sys

systems index action does not filter by environment_id when both
organization_id and environment_id are passed; it only filters by
organization_id. This allows the index action to filter by both.
Merge pull request #4265 from daviddavis/temp/20140613091921

Fixes #6211,BZ1102521 - Use hidden user's remote id to ping pulp_auth
Merge pull request #4278 from bkearney/bkearney/6245

Fixes #6245 : Add mongo and postgres logs to katello debug
Fixes #6250,BZ1110012 - Define search_type for PuppetModule class
Fixes #6249,BZ1109398: Candlepin proxy routes properly looking up organization.

When the API switched to looking up organization by ID, the Candlepin
proxy routes that required an organization broke since subscription-
manager GUI and CLI pass the organization label and not numerical ID.
Merge pull request #4283 from daviddavis/temp/20140617090242

Fixes #6250,BZ1110012 - Define search_type for PuppetModule class
Merge pull request #4189 from dustint-rh/org_api_apipie_param_group_resource_substitution

Fixes #5555 - fix org update action's apipie param
fixes #6204 / BZ 1099016 - Fix gpg key on repo create and yum retrieval

This commit addresses 2 issues:
1. update the repo create to support associating the gpg key url
   in candlepin
2. update the v2 api to expose the 'gpg_key_content' api to enable
   yum clients to retrieve the key
Merge pull request #4244 from dustint-rh/system_index_filter_org_env

Fixes #6147 - filter both org and env in sys
Merge pull request #4263 from bbuckingham/issue-6204

fixes #6204 / BZ 1099016 - Fix gpg key on repo create and yum retrieval
Fixes #6252/BZ1087079 - default to errata_id on bulk errata searches.
Fixes #6258 - env_id & cv_id optional in ak update

Activation Key update should allow passing of environment_id and
content-view to be optional since creation allows the existence
of Activation Keys without a lifecycle-environment or content-view
asociated.