Fixes #6531/BZ1117487 - set active menu on $state change.

Ensure the highlighted active menu item is updated on $state
changes.

http://projects.theforeman.org/issues/6531
https://bugzilla.redhat.com/show_bug.cgi?id=1117487
Fixes #6553/BZ111225: add "repositories" to product resource type name.

There was some confusion about Repository permissions being underneath
Products. This commit simply updates the resource type name to make
it obvious that repositories are also affected by these permissions.

http://projects.theforeman.org/issues/6553
https://bugzilla.redhat.com/show_bug.cgi?id=1112255
Fixes #6551/BZ1112644: show add/remove content hosts if user able

The permissions that show and hide the UI for adding/removing
content hosts to/from a host collection were incorrect.  This commit
fixes those permissions.

http://projects.theforeman.org/issues/6551
https://bugzilla.redhat.com/show_bug.cgi?id=1112644
fixes #6512 - move valid notices routes inside resources block

In Rails 3.2.8, it's not seeing the previous notice route get_new as
being part of the engine.  Moving inside a resource block fixes that
problem.  I also removed 2 routes that aren't valid and shouldn't exist
anymore - note_count and auto_complete_search.
fixes #6461 - create Katello permissions without quotes in db seeds

Katello seeds was creating incorrect permissions in the Foreman DB by
adding a set of superflous quotes -- e.g., "'Katello::ActivationKey'".
This commit removes the extra quotes.
fixes #6329 - toggle label content view/puppet environment, toggle show/hide installation media on new host form
Merge pull request #4411 from waldenraines/6553

Fixes #6553/BZ111225: add "repositories" to product resource type name.
Merge pull request #4415 from stbenjam/6461-duplicates

fixes #6461 - create Katello permissions without quotes in db seeds
Fixes #6411 - filter content param in CU BZ1111484

The content param in the content_uploads action is causing
the log to fill up with garbage since content is binary.  This
filters the log so that the content_uploads the content param is
filtered.
Merge pull request #4364 from dustint-rh/filter_log_content_using_foreman_katello_plugin

Fixes #6411 - filter params by path BZ1111484
Merge pull request #4413 from waldenraines/6551

Fixes #6551/BZ1112644: show add/remove content hosts if user able
fixes #6592 / BZ 1118895 - Activation Keys UI: replace 'System' references

In the UI, System should be replaced with Content Host on both the
new & edit screens for activation keys.
fixes #6593 / BZ 1118897 - Host Collections - fix crosslink to edit env and view
Merge pull request #4419 from bbuckingham/issue-6593

fixes #6593 / BZ 1118897 - Host Collections - fix crosslink to edit env and view
Merge pull request #4418 from bbuckingham/issue-6592

fixes #6592 / BZ 1118895 - Activation Keys UI: replace 'System' references
Merge pull request #4325 from isratrade/6329

fixes #6329 - toggle label content view/puppet environment, toggle show/hide installation media on new host form
Merge pull request #4393 from stbenjam/6512-notices

fixes #6512 - move valid notices routes inside resources block
fixes #6601 / BZ 1115364 - content search - fix package license

Small update to:
- properly show the package license information
- correctly i18n a couple strings being rendered
fixes #6604 - fixing rake db:seed error

setting User.current was removed by mistake
Merge pull request #4424 from jlsherrill/6604

fixes #6604 - fixing rake db:seed error