RPM packaging fixes

* fix therubyracer require name
* when Foreman launched twice within same PID, ENV['BUNDLE_GEMFILE'] is already
  set, causing bundler to load instead of bundler_ext
* revert SCL additions to init.d script, spec file handles them
* fix init script path
* export HOME in init script as Puppet requires it
* add gettext_i18n_rails_js dependency, minor dependency fixes to compile
  assets and match RPM versions
* create settings.yaml to precompile assets
* specify required attributes for local_secret_token.rb
* comps updates
(cherry picked from commit 6f96a1b9a2389233114a880fb8376bdf4ab9eaa0)
fixes #2491, fixes #2487 - i18n issues
(cherry picked from commit 0ee000ea77b63260f244f93afe9037630c59c5cb)
fixes #2511 Footer should be replaced with an about page
(cherry picked from commit 8b80115c2a88fd84aec52840bbfcd949b38e4343)
refresh locales
fixes #2526 Favicon only shows up if foreman is deployed in the root context
(cherry picked from commit ecc106ace7d609e529e9472eb490765f59dcf028)
fixes #2516 - dbmigrate changes for SCL
(cherry picked from commit 7908aba2a8097bbff1bbf1ba441644ce8512b295)
fixes #2485 - updated_at = NULL
(cherry picked from commit 27120f6239e252fb392ad3d61e68d7fc4dd0c740)
Fixes #2458 - Directory structure precreated
(cherry picked from commit fa375e9b6dd052724814e1416fb5805c7b680ed3)
fixes #2522 dashboard events table should not have a border and is too long
(cherry picked from commit 40b834e3af07916056d314503bc0de81f60dfe1e)
Fixes #2513 - orgs created in katello do not appear in org filtering

- topbar cache sweeper turned on for api controllers
- a bit of refactoring to get rid of repetitive expire_fragment
(cherry picked from commit f4430a08911002d0c36ee3c83a4ee0b3e5f4b824)
fixes #2197 - form fields for new host are scoped by location and organization on load
(cherry picked from commit 671b7907dd397c1623208815505f5f09f43dcc28)
Fixes #2497 - Join to the fact_values table when a user fact-filter is applied
(cherry picked from commit 9ae88fc3e7e4621df841eb6fb43fe938db4e52a5)
fixes #2499 Add os_minor and os_major autocomplete
(cherry picked from commit d17e67c219ab07860b4bb1a2ce480c78cf963022)
fixes #2440 remove unused files, code, unnecessary require statements
(cherry picked from commit f3dd3bb605197b4ed66be83678b6895b5abe0cd9)
fixes #2130 - normalize_hostname appends domainname to fqdn

When the trailing part of $fqdn doesn't match $domain, the normalize_hostname
function would append $domain onto the end of $fqdn, saving the host as
$fqdn.$domain (Example: hostname.domain1.com.domain2.com).

This rename would happen if you edit a host already named 'host.domain1.com'
where a (hardcoded) certname says 'host.domain1.com' but the domain fact says
'domain2.com'.

If a hostname is supposed to follow RFC952 format, any . (dot) is only allowed
as a separator between domain parts and _not_ in the hostname part itself.
Thus if there is already a dot in the hostname we have to assume the host name
(fqdn) is already fully qualified.
(cherry picked from commit 0c8f532ed251049dcd93f6ce054f07093f9507f8)
fixes #2498 FactNames are not precreated

Witlessbird's fix to reduce database lookups and do Ruby hash lookups instead
(cherry picked from commit 991cd8ae19d87fc76adf97e18297bb593721e546)
fixes #2509, fixes #2507: few issues around Host::Base#merge_facts and fact names
(cherry picked from commit 136f8dfcb3bbe9a816a265efe619ede33cad0a94)
fixes #2316 Adding a disk to an existing RHEV 3.1 VM via Foreman results in an error
(cherry picked from commit 0e5696d392b7e26dfc975d85d304a6b3bb1fa9fb)
fixes #2548 - add non-SCL dependencies to comps for publishing
(cherry picked from commit 4eab96a1a0227ec780e7f4b9a286324b7ee980f0)
Release 1.2.0-RC1