fixes #5857 - enclose sub-mgr args in quotes
Fixes #5852 - Updating gem dependencies

Removing foreigner since it's already required by foreman.
Fixes #5768 Changed term system to content-host
updated all references from system to content host
Fixes #5886: Return organizations for the admin user.

Since the admin user is treated differently than other users, the
admin user doesn't have a direct relationship to any organizations.
Thus, we need to check if the user is an admin and return all
organizations.
Fixes #5526: Ensure content APIs are properly permission wrapped.

Intent is for packages, errata, package groups, and distributions the
user has :view_products and can then see the content for any products/repos
they have access to. For content within a content view, the user needs
:view_content_views permission.

For repository sets, a user needs :view_subscriptions to show, index or
see available repository sets and :import_manifest in order to disable/enable.
Merge pull request #4131 from thomasmckay/5857-snippet

fixes #5857 - enclose sub-mgr args in quotes
Merge pull request #4141 from ehelms/fixes-5886

Fixes #5886: Return organizations for the admin user.
Merge pull request #4139 from cfouant/cfouant-branch

Fixes #5768 Changed term system to content-host
Fixes #5913, BZ1093601 let org-switcher clear URLs pass through bastion.

See also PR #4137 which only allowed org/location selection URLs
to pass through bastion.  This adds org/location "clear" URLs as well.
Merge pull request #4148 from waldenraines/5913

Fixes #5913, BZ1093601 let org-switcher clear URLs pass through bastion.
Fixes #5884: Fix typo for list_owners authenication to be properly handled.
fixes #5184 - extend foreman host to provide association to katello content host

This commit provides for a few small changes:
1. add an association to the foreman host to the katello content host
2. update the foreman defacing to use the data from this association
   versus querying the System table for the details
3. when a content host is registered, if there exists a foreman host
   with the same hostname, associate the two (host & content host)
4. with the relation added in #1, when the foreman host is deleted
   the corresponding content host will be deleted.
refs #5184 - rename 'remove' to 'unregister' for content host ui
Merge pull request #4142 from ehelms/fixes-5526

Fixes #5526: Ensure content APIs are properly permission wrapped.
Merge pull request #4140 from ehelms/fixes-5884

Fixes #5884: Fix typo for list_owners authenication to be properly handl...
Fixes #5917 - Content search ambiguous SQL id error
fixes #5800 - host collections ui - errors on add/remove should be displayed
Merge pull request #4152 from parthaa/sql-fix

Fixes #5917 - Content search ambiguous SQL id error
fixes #5801 - host collection ui - update errors should be shown on UI

The validations were being executed; however, the errors were not
being returned to the client due to how update_attributes was
being used.

Now (for example), if a user has 3 content hosts in a collection
and they try to set the max content hosts to 2, they will get an
error back.