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 #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 #6915 - cleanup activation key association on clean_backend_objects
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 #6918,BZ1125999 - Removing dupe products in sync widget
Fixes #5745/BZ963572: upgrade angular-gettext to fix XSS.

The library Bastion uses for i18n, angular-gettext, was
vulnerable to XSS.  This commit upgrades the version of
angular-gettext to one that is no longer vulnerable.

http://projects.theforeman.org/issues/5745
https://bugzilla.redhat.com/show_bug.cgi?id=963572
fixes #6550 / BZ 1117952 - fix issues with changing org name which affected running db:seed

Without these changes, the user cannot change the default organization
name and re-run 'rake db:seed'.  The reason being, it would attempt
to create an organization with a label that was already in use and
the seed would fail.

In order to address this, this commit does a couple of things:
1. when creating an org, if a label is automatically generated
   and it is already in use, re-generate the label using a uuid.
2. fix an existing validation which was incorrectly comparing
   name=label, label=name, etc. during org create and update.
Merge pull request #4435 from ehelms/fixes-6639

Fixes #6639: Allow user actions to not be blocked by update.
Merge pull request #4517 from jlsherrill/6889

fixes #6889 - on location creation, set default if one does not exist
fixes #6330 - using pulp & pulp_node features of smart proxy

* to determine the default smart proxy
* to determine whether to show the lifecycle env selection screen
* to determine which proxies to who under the content source selection
Merge pull request #4512 from waldenraines/5745

Fixes #5745/BZ963572: upgrade angular-gettext to fix XSS.
Merge pull request #4499 from waldenraines/6808

Fixes #6808/BZ1124058: fixing permissions of product buttons.
Merge pull request #4503 from iNecas/issue/6837

Fixes #6837 - remove old hook-actions
Merge pull request #4521 from bbuckingham/issue-6550

fixes #6550 / BZ 1117952 - fix issues with changing org name which affected running db:seed
Fixes #6039 - CP events in CH tasks tab

This fix displays the candlepin events by placing them as sub tab under
the content-host subscriptions tab.
Merge pull request #4524 from jlsherrill/6915

fixes #6915 - cleanup activation key association on clean_backend_objects
Fixes #6960: Environments no longer disappear on hover on Content Search page.