fixes #2420 - extract strings for i18n from JavaScript, various i18n fixes
gettext_i18n_rails_js shouldn't be required in prod setups to run rake tasks
fixes #2421 added missing has_many :hostgroups and missing :dependent => destroy
fixes #2422 Rails 3.2: before_destroy / dependent => :destroy ordering
refs #2400 clean up tests so there are no orphaned foreign keys
fixes #2132 Smart Variables in hostgroup.
1. Show smart variables in hostgroup view.
2. Added the GUI to override smart variables values in host group.
Suport hostgroup puppet classes parameters inheritance.