fixes #2498 FactNames are not precreated

Witlessbird's fix to reduce database lookups and do Ruby hash lookups instead
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
fixes #2491, fixes #2487 - i18n issues
fixes #2511 Footer should be replaced with an about page
Bump version to 1.2-develop
refresh locales
fixes #2526 Favicon only shows up if foreman is deployed in the root context
fixes #2516 - dbmigrate changes for SCL
fixes #2485 - updated_at = NULL
Fixes #2458 - Directory structure precreated
fixes #2316 Adding a disk to an existing RHEV 3.1 VM via Foreman results in an error
fixes #2522 dashboard events table should not have a border and is too long
fixes #2484 - host and hostgroup root passwords are not saving
Revert "fixes #2484 - host and hostgroup root passwords are not saving"

This reverts commit 2193afa0e33e939739a53d2918cb2e31ee92ac7a.

merged by mistake
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
fixes #2197 - form fields for new host are scoped by location and organization on load
Fixes #2497 - Join to the fact_values table when a user fact-filter is applied
fixes #2499 Add os_minor and os_major autocomplete
fixes #2440 remove unused files, code, unnecessary require statements
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.