866493 - frequent SSL renegotiations and log level

Until now, Katello had configured client certificates for /katello path
while we need this only for /katello/api path (and /subscription for newer
rhsm clients).

This was leading to many errors for each UI request when browser was
apparently not sending any client certificate. Together with way too verbose
log level (info instead of the default warn) this was resulting to about
20-30 log lines for each UI request.

This patch moves the client certificate configuration only in /katello/api
location leaving the /katello location configuration empty now.

It also sets warn default log level.

https://bugzilla.redhat.com/show_bug.cgi?id=866493
886718 - allow better translation of one string

Original string has different translation depending on object_type.
I created several new strings with hardcoded object_type and
only left as variable in string "label".

This is quite ugly code, but I prefer it over ugly sentence as suggested
in:
https://bugzilla.redhat.com/show_bug.cgi?id=886718#c7
(even if it is grammatical correct).
Content views: addressing feedback from #1592
Fixing #1620 by defining url_content_views_proc
Resolving headpin installation issues
Loading pulp gem group
a fix in content_view_environemnt: the order of callbacks is important
a smal refactoring to generate more complete environment+dependencies tree
Merge pull request #1628 from jsomara/headpin-fix

Resolving headpin installation issues
Merge pull request #1631 from witlessbird/content_view_orchestration

a fix in content_view_environemnt: the order of callbacks is important
Merge pull request #1632 from witlessbird/environment_factory

a smal refactoring to generate more complete environment+dependencies tree
Merge pull request #1610 from daviddavis/1592

Content views: addressing feedback from #1592
i18n - fixing merge issue introduced by 2cee9ef0d7ee53
Content views: worked on content view search

Fixed a few bugs with content view content search and added version numbers.
Merge pull request #1624 from daviddavis/1620

Fixing #1620 by setting url_content_views_proc to nil
Merge pull request #1626 from daviddavis/cv_content_search

Content views: content search fixes and tweaks
Merge pull request #1634 from lzap/i18n-merge-fix

i18n - fixing merge issue introduced by 2cee9ef0d7ee53
content views - fix query that failed on older postresql

The query before this change worked ok for katello on F17; however,
on RHEL 6.3 it would generate the error below. It appears that the newer
version (9.1.7-1) of postgres is more lenient on the 'group by' than the older
version (8.4.13-1).

PGError: ERROR: column "content_views.name" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: SELECT "content_views".* FROM "content_views" INNER JOIN "c... ^ : SELECT "content_views".* FROM "content_views" INNER JOIN "content_view_versions" ON "content_view_versions"."content_view_id" = "content_views"."id" INNER JOIN "content_view_version_environments" ON "content_view_versions"."id" = "content_view_version_environments"."content_view_version_id" INNER JOIN "environments" ON "environments"."id" = "content_view_version_environments"."environment_id" WHERE ("content_views".content_view_definition_id = 1) GROUP BY "content_views"."id" HAVING count("environments"."id") > 1 LIMIT 1 (ActiveRecord::StatementInvalid)

The new query provides an alternative that avoids using 'group by'
which, if used, would require us to list every column defined by
the content_views schema.
Merge pull request #1638 from bbuckingham/fork_content_views_fix_query-2

content views - fix query that failed on older postresql
Merge pull request #1562 from lzap/ssl-errors-httpd

866493 - frequent SSL renegotiations and log level