fixes #6626 / BZ 1079958 - content dashboard - fix N results

On the Content Dashboard, the "N results" selection is broken when
running in rails 3.2.8 (e.g. RHEL6.5).  This commit ensures that
the selection will work both in the development environment as well
as production.
Fixes #6218,BZ1112764 - Using pulp status route for ping
Fixes #6635,BZ1114046 - Fixing undefined method cp_id error

Was getting an error on content host create (undefined method `cp_id`) due to
the content view not being in the environment.
Fixes #6653/BZ1013689: show success message on repo creation and update.

http://projects.theforeman.org/issues/6653
https://bugzilla.redhat.com/show_bug.cgi?id=1013689
fixes #6646 / BZ 1104104 - Content View - disable version promote/remove during publish/promote

This commit addresses 2 issues:

1. when a version is being published, disable the promote/remove links on that version
2. when a version is being promoted, disable the promote/remove links on that version
fixes #6649 - explicitly require java 1.7 since the installer now requires it
Fixes #6321/BZ1111695: check permission before displaying bastion page.

Ensure the current user has the correct permission prior to displaying
the Bastion page.  Before this commit the page would display with 403s
for any requests the user did not have access to.

http://projects.theforeman.org/issues/6321
https://bugzilla.redhat.com/show_bug.cgi?id=1111695
Merge pull request #4446 from jlsherrill/6649

fixes #6649 - explicitly require java 1.7 since the installer now requir...
Merge pull request #4382 from waldenraines/6321

Fixes #6321/BZ1111695: check permission before displaying bastion page.
Fixes #5948/BZ1077886: tell alch-alert to track by index instead of value.

The items in ng-repeat are tracked by value by default.  This causes
the error mentioned in the bugs if there are two items with the same
value in the array.  This commit tells alch-alert to track the values
in the DOM by array index instead of value.

http://projects.theforeman.org/issues/5948
https://bugzilla.redhat.com/show_bug.cgi?id=1077886
Merge pull request #4449 from waldenraines/5948

Fixes #5948/BZ1077886: tell alch-alert to track by index instead of value.
Fixes #6664/BZ1103169: remove incorrect usages of control-width.

The attribute control-width for the directive alch-container-scroll
was being used incorrectly in many cases.  This attribute should be
used for ensuring the element is the full width of the window and is
really only applicable for full width tables.  This commit removes
the incorrect usages of control-width.

http://projects.theforeman.org/issues/6664
https://bugzilla.redhat.com/show_bug.cgi?id=1103169
Merge pull request #4445 from waldenraines/6653

Fixes #6653/BZ1013689: show success message on repo creation and update.
Fixes #6643,BZ1105351 - Fixing drag-and-drop widgets on dashboard

Switching to jquery-ui-rails files to fix js drag-and-drop errors on the
dashboard.
Merge pull request #4436 from daviddavis/temp/20140716110339

Fixes #6218,BZ1112764 - Using pulp status route for ping
Merge pull request #4434 from daviddavis/temp/20140716091214

Fixes #6635,BZ1114046 - Fixing undefined method cp_id error
Merge pull request #4439 from daviddavis/temp/20140716132424

Fixes #6643,BZ1105351 - Fixing drag-and-drop widgets on dashboard
Merge pull request #4447 from bbuckingham/issue-6646

fixes #6646 / BZ 1104104 - Content View - disable version promote/remove during publish/promote
Merge pull request #4432 from bbuckingham/issue-6626

fixes #6626 / BZ 1079958 - content dashboard - fix N results
fixes #6125 / BZ 1106914 - organization ui - remove cloning