module I18n 
  class << self
    def has_feature?(feature)
      #at the moment, only us countries can use these features
      begin
        return I18n.country.code == 'us'
      rescue
        return false
      end
      
      result = self.t("features.#{feature}")

      if result === true
        result
      else
        raise MissingTranslationData.new('','','')
      end
    end
  end
end
module I18n 
  class << self
    def has_feature?(feature)
      result = self.t("features.#{feature}")

      result === true
    end
  end
end

Update perform feature so that features are specified in locales
[SCR-673] Update perform feature so that features are specified in locales

Previously, we allowed a feature only if it was for the USA.
Now, we check the locale file for that country for the feature.feature_name.
Unless the feature is set and equal to true, the feature cannot be run.
Default truevalues can be set in the en.yml locale.
