Fixes #5911 - perms for system registration calls

Also handles env lockin/cv lockin for content view remove

Rules of the Game
To register a system one needs
1) create_content_hosts (under content hosts resource)
2) view_content_views
3) view_environments

Also cleaned out some old code.
Fixes #5765: Ensure repositories appear on content view details when searching, BZ1086187.

On the content view details page for repositories, if a user had searched
for the content view the search transferred to the search being done
by the repositories table.
Merge pull request #4147 from parthaa/sys-registration

Fixes #5911 - Added permissions for content host registration calls
Fixes #5027: Ensure errata filter notification on add/remove, BZ1079245.
fixes #5743/BZ1097124 - content host - host collections bulk action "loading" fix

This small commit fixes an issue where the content host bulk
actions page for host collections would result in invalid requests
sent to the server, causing it to remain in a 'Loading' state.

The issue was due to a name conflict in the url (host-collections)
used by both the single content host as well as bulk actions.
Merge pull request #4217 from bbuckingham/issue-5743

fixes #5743/BZ1097124 - content host - host collections bulk action "loading" fix
Merge pull request #4182 from ehelms/fixes-5027

Fixes #5027: Ensure errata filter notification on add/remove, BZ1079245.
Merge pull request #4185 from ehelms/fixes-5765

Fixes #5765: Ensure repositories appear on content view details when sea...