fixes #6603 / BZ 1115341 - content search - fix for missing package metadata

This commit is to address errors that could occur if the package
metadata was missing information for fields such as, provides,
requires, files or changelog.
fixes #6719 / BZ 1079953 - Content Notices - fix deletion and list by org

This commit addresses 2 issues w/ the content notices page:
1. list only the notices associated with the current org
2. update so that clicking 'Delete All' will render the confirmation dialog
fixes #5096 - fail gracefully on pulp repo creation failure

The goal is to run the action creation in the plan phase
and error out if its not valid.  A similar approach is taken
with Content Host Creation.  However in that case, content hosts
are not created in other situations.  Repositories are created during
publish/promote of content views as well and in that situation we do not
want to perform pulp creation in the plan phase.  As a result I have created
a new action CreateImmediate that does the creation in the plan phase.
It attempts to use as much from Create as possible (there is a lot of code there)
Fixes #5985/bz1102120 - Marked content_view_id as required param

Content VIew id is marked as required param in the docs
for the cv filters index call but nothing is enforcing that.
This commit handles that enforcement aspect
fixes #6740 - cleared up enabled text
fixes #6596 - fixes #6596 - change 'type' method to 'system_type' in Katello::System
Merge pull request #4469 from bbuckingham/issue-6719

fixes #6719 / BZ 1079953 - Content Notices - fix deletion and list by org
Merge pull request #4423 from bbuckingham/issue-6603

fixes #6603 / BZ 1115341 - content search - fix for missing package metadata
Merge pull request #4421 from isratrade/6596

fixes #6596 - change 'type' method to 'system_type' in Katello::System
Merge pull request #4456 from jlsherrill/5096

fixes #5096 - fail gracefully on pulp repo creation failure
Fixes #6647,BZ1120335 - Remove old foreman org destroy routes

Removing old foreman destroy routes since they don't use dynflow to delete
organizations.
Fixes #6759/BZ1108928: using #content as topbar.js expects.

Foreman's topbar.js expects an element with an id of "content"
that it adds top padding the size of the header to in order for
there to be sufficient room for the floating header.  This commit
renames #maincontent to #content so Foreman's topbar.js works for
katello pages.

http://projects.theforeman.org/issues/6759
https://bugzilla.redhat.com/show_bug.cgi?id=1108928
Refs #6696 - Fixing test that doesn't work with content-type json

Due to a change in foreman, we're using json for all api requests (which is the
only supported content-type for the api) and this triggers wrap_parameters.
With wrap_parameters, since organization_id is a product attribute, we no
longer hit the bad request. If we remove organization_id though, then we hit
404. So basically, there's no way to hit a 400 error. An alternative would be
to remove this test.
Merge pull request #4477 from thomasmckay/6740-enabled-label

fixes #6740 - cleared up enabled text
Merge pull request #4473 from parthaa/cv-required

Fixes #5985/bz1102120 - Marked content_view_id as required param
Merge pull request #4478 from waldenraines/6759

Fixes #6759/BZ1108928: using #content as topbar.js expects.
Fixes #6651,bz1094986 - Disable Sync without repo url

Added code not allow syncing on repositories without a URL.
Fixes #6776/BZ1122254: update table when repository modified.

The row in the product repositories table was not being updated
when the corresponding repository was updated.  This commit updates
the row that matches the changed repository.

http://projects.theforeman.org/issues/6776
https://bugzilla.redhat.com/show_bug.cgi?id=1122254
Merge pull request #4442 from parthaa/disable-sync

Fixes #6651,bz1094986 - Disable Sync without repo url
Fixes #6775 - AK show filters by index's params

This allows Activation Key's show action to filter by the same parameters
that that the index action can filter by. The key issues is to allow
activation-keys be able to be scoped by organization_id when it is
passed in.