fixes #4245 - return HTTP body for oVirt SSL CA certificate

(cherry picked from commit 2e417b5824b4e5283586119052aed7b4953e468e)
fixes #4524 - The logged in user should be the default one in create new hosts

(cherry picked from commit 19579f872c1b4a512500f8e07f0b066180574e4e)
fixes #4485 prevents undefined method when cloning a host

(cherry picked from commit cdbbf1c231c9148d2b6ed252d920a8676c176702)
fixes #4442 - returning nil plays nice with try_to_login.

(cherry picked from commit a416bb573dedf6c34592afec17fbbec96691a5e6)
fixes #4194, #4459 - add main_app to root_path references for isolated engines

(cherry picked from commit 33b384f2b29363014608ac1b85061b5a8b4791d5)
fixes #4565 - puppet class free-text search is now significantly faster

(cherry picked from commit 0126385b4469accf2474ab3db0ef43f8d7b63558)
fixes #3475 - make it possible to force the 401 status.

(cherry picked from commit 5eb2fa6ec0997b31b95d413c64c6bc3b2cfe552e)
Fixes #4616 - Add a Fog mixin for looking up EC2 IP addresses

(cherry picked from commit 4963a970e3ee2a91835f4ab5a493179d96cdeedf)
fixes #4626 - update Facter calls for 2.0 compatibility

(cherry picked from commit 312042b0ddd557fb42f67ba7424020b8dde72da2)

Conflicts:
	app/models/setting/general.rb
	app/models/setting/provisioning.rb
fixes #4314 - ignore default scope ordering on host search by puppet class

(cherry picked from commit a44dd0943b5ccc2c2e9a0ce264e4b2f38b5edd4d)

Conflicts:
	app/models/concerns/hostext/search.rb
fixes #4669 - HostMailer summary method refers to undefined variable

(cherry picked from commit 7966448c3cf6ae6194e6800e570668d3c65d2c25)
Revert "Fixes #4616 - Add a Fog mixin for looking up EC2 IP addresses"

This reverts commit 97c45d66a0066b6abbf486511aa4f93c67e52007.
Revert "Fixes #2270 - Detect all OpenStack IPs and test which allows SSH"

This reverts commit eb1bba78e89b21ac1e935c2cfd7dbf7c23e1c646.

In light of #4616 and #4710, further issues with this change were found which
means we need more time to solve it completely and ensure full cross-provider
compatibility.
Fixes #4680 - Don't append periods to unqualified unmanaged hosts

(cherry picked from commit 014c9ab5eb9bb9b8d655d48a8ccd540613390788)
fixes #4456 - XSS on 500 error page and bookmark name causing render error (CVE-2014-0089)

(cherry picked from commit 69e46d6d6eb230f3aa4236838999284dfffccb6e)
fixes #4457 - Session fixation, new session IDs are not generated on login (CVE-2014-0090)

(cherry picked from commit cfa4b52638173b9cf77ee1a5fd0c3a273f875209)

Conflicts:
	test/functional/users_controller_test.rb
Remove test erroneously pulled from develop
Release 1.4.2
Fixes #4465: remove pretrans section of foreman.spec

(cherry picked from commit e639a808461a40e1f830d594e970258a52bef516)
fixes #4828 - pin rake for Ruby 1.8 compatibility

(cherry picked from commit d59d272874a0571fd768b2ff66bf3af1eef57488)