fixes #2486 - ensure facts import is idempotent when values are unchanged
(cherry picked from commit 6dffd64b9d1e0be4cdf76534877438f52c42f200)
Fixes #2476 - precompile and include textmate theme
(cherry picked from commit d84bc5f5d5104a6e0615fbb4797a4caf6d0d4a0b)
fixes #2246 deleting an environment also deletes associated templates
(cherry picked from commit af92531881ea038d792e48d6883082c66a51660a)
fixes #2480 - undefined method `html_raw'
(cherry picked from commit 3d35e11f7d20ed107e0b568ba4e7f0143b1a3d48)
fixes #2478 - smart-variable in ENC stopped working
(cherry picked from commit 3a96ba00c7f5c698eb5c9441be69f3f82f263e9a)
fixes #2396 Popups show escaped HTML
(cherry picked from commit 371c2e864dc1671046514a7bcaee22097d3e05f1)
fixes #2453 - fix aggressive truncation of hostgroups < 26 chars
(cherry picked from commit 3cda1a7360cb4f27b7dff8db6717cdc91e1ca904)
fixes #2488 - hosts/<fqdn>/lookupkeys/<key-id> api is broken
(cherry picked from commit 16ac09dfe738b9ebcde0bd9eb854095c9e8ef7b3)
fixes #2481 - invalid state in BMC power dropdown
(cherry picked from commit 930772e27b0c702835f328a7c12e73e0f5f9dbec)
fixes #2490 - filter empty EC2 security groups
(cherry picked from commit 11ea79ceacc2c9d0f2abed59a922b80d58c9031a)
fixes #2492 Fallback to assets pipeline if a precompiled asset is missed in production

That's the case when an engine (foreman plugin) with it's own assets is added to
Foreman later in production.

this patch ensures that while not precomplied, it does not fail in
production.
(cherry picked from commit ce12585ee584563f99cdc8fbc3ce1f1ae663495f)
Updated the spec for packaging Foreman on top of a Ruby 1.9.3 software collection
(cherry picked from commit 346742902d8548e46877a214b2143dd79c3c4c69)
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)