950943 - Fixing tags method for content views

The tags method called id instead of ids which returned the tag_id instead of a
hash with display_name which in turn caused an exception in the CLI code.
 #961122: fixes "Missing template users/destroy" error.

 Since user.destroy may fail (if any of the callbacks fail, for example), we need to handle this case as well.
 Fixed similar issues in environment and repositories controllers.
Handle logout and session expiration better

Logout page was removed. Also when user logouts he ends up on Signo page
where he can login again. He is then redirected back to katello.
Use send instead of instance_eval

Instance_eval is much more powerful (and dangerous). Don't use that if
not necessary, which is this case.
Whitespace
Fixes login issues with JS

When user entered wrong credentials a login screen still tried to fetch
allowed organizations. Also an error notification was not displayed.
Do not log to /var/log/katello by default

Log by default to ./log not to /var/log/katello. Otherwise it
tries to write to /var/log/katello on developer's machine. It
is handled by a symlink (part of RPM)

    `/usr/share/katello/log -> /var/log/katello`

in deployment.
908026 - updating feed certs in pulp upon new manifest import
remove rubygems for ruby18, add -doc and -debuginfo packages
add ruby193-libselinux-ruby package

this is dependency of ruby193-puppet from now, when puppet is build with selinux support
Merge pull request #2354 from jlsherrill/repo_update

[Do Not Merge] 908026 - updating feed certs in pulp upon new manifest import
965899 - do not include component view label in composite view path

Prior to this change, when a composite view is promoted
(e.g. Library to dev), the content path on pulp file
system would include both name of the composite view
as well as the name of the component view.  The component
view name is not necessary; therefore, it is being removed
from the path.

E.g.
Before:
/var/lib/pulp/published/https/repos/ACME_Corporation/dev/comp_view/zoo_view/custom/zoo_product/zoo_repo

After:
/var/lib/pulp/published/https/repos/ACME_Corporation/dev/comp_view/custom/zoo_product/zoo_repo
wrong package name, didn't need the rubygems
Merge pull request #2347 from iNecas/tech-depts

Use send instead of instance_eval
Merge pull request #2350 from pitr-ch/quick/var-log

Do not log to /var/log/katello by default
Merge remote-tracking branch 'origin/master' into pull-req-ruby193-libselinux-ruby2

Conflicts:
	rel-eng/comps/comps-katello-server-rhel6.xml
921103: Add missing id to package json

`katello package list` was showing list without package ids.
https://bugzilla.redhat.com/show_bug.cgi?id=921103
Merge pull request #2359 from xsuchy/pull-req-ruby193-libselinux-ruby2

reality check of comps for el6 and add new deps ruby193-libselinux
Merge pull request #2352 from pitr-ch/bug/package-list

Add missing id to package json
966396: Add missing ids in relation tables

Relation tables having its models has to have primary key `id`.
Without it ActiveRecord is not functioning properly. It was causing
nasty errors with malformed SQL statements e.g.
`"content_view_version_environments".""`.

There were two models without ids: RolesUser,
ContentViewVersionEnvironment. Unique index for table
`content_view_version_environments` on columns `content_view_version_id`
and `environment_id` was added.

Org and environment deletion were not working. Missing ids were breaking
deletion of relations to these models.

This was probably causing more problems than the two mentioned.

https://bugzilla.redhat.com/show_bug.cgi?id=966396