Fixes #6639: Allow user actions to not be blocked by update.

This will also allow a subset of Foreman core unit tests to be
run and pass with Katello enabled.
Fixes #6837 - remove old hook-actions

This actions were used for hooking into the orchestration process when
having Katello and Foreman side by side. No need for this actions
anymore, as one can hook directly to the dynflow actions in app/lib/actions
fixes #6853 - make host group provisioning work with katello
fixes #4989,6734,6735 - adapting sync management page to use dynflow

Note that some columns in the sync management table
have changed to reflect difficulty of fetching some data.
Fixes #6808/BZ1124058: fixing permissions of product buttons.

Several product buttons were using the incorrect permission
in determining whether to disable the buttons.  This commit
fixes these incorrect permissions.

http://projects.theforeman.org/issues/6808
https://bugzilla.redhat.com/show_bug.cgi?id=1124058
fixes #6889 - on location creation, set default if one does not exist

also prevent default deletion
fixes #6128 - Fixes errata icons not showing, BZ 902948
fixes #6547 / BZ 1115468 - delete puppet modules from content view on repo delete

When a puppet repository is deleted (e.g. from Content -> Products),
if any of the puppet modules in that repository are associated with
an existing content view (via ContentViewPuppetModule), they need
to be removed from the content view.  This commit will do just
that, providing a behavior that is consistent with when a user
deletes a yum repository (i.e those repositories are removed
from the content view).
fixes #6913 / BZ 1092143 - content view version - disable promote/remove on failed task

This commit will disable the promote/remove button for a content view version,
if the current task being executed resulted in in an error.  Once the error
has been resolved and the task completes, the buttons will be re-enabled.
fixes #6915 - cleanup activation key association on clean_backend_objects
Fixes #6842 - system uuid as id bz1122938

In the Api, display uuid as the id in both the system show and index actions.
fixes #6919 / BZ 1113588 - host - show validation error if no puppet environment

This commit contains a small change so that if the user doesn't provide
a puppet environment, they'll see the validation error sent by the server.

E.g. Puppet Environment: [] can't be blank

The code change is to ensure that the html rendered includes
'for="environment_id"', which is used to support displaying
the error associated with that attribute.
fixes #6663 - Details tab of foreman host shows multiple entries of 'Subscription Status'
fixes #4734 - make katello templates available in all taxonomies

This change uses a new feature in foreman to mark templates as defaults
supplied by a third-party.  We mark our templates as such, as well as
some Foreman templates we require.

The end result is that (a) these templates are made available in all
orgs and locations at creation, and (b) the templates can't be deleted
or modified, so we are free to update them at will.  Users may clone a
template into their own org to customize it.
Fixes #6918,BZ1125999 - Removing dupe products in sync widget
Merge pull request #4523 from bbuckingham/issue-6913

fixes #6913 / BZ 1092143 - content view version - disable promote/remove on failed task
Merge pull request #4519 from cfouant/errata

fixes #6128 - Fixes errata icons not showing, BZ 902948
Merge pull request #4471 from jlsherrill/syncing

fixes #4989,6734,6735 - adapting sync management page to use dynflow
Merge pull request #4529 from isratrade/6931

fixes #6663 - Details tab of foreman host shows multiple entries of 'Subscription Status'
fixes #6936 - Fixes typo in registration hint, BZ 1124075