hotfix undefined Rails.root & set most possible restrictive permissions to token_file
rails 4.1.0.beta1 + fixes related to installer.rb
fix deprecation warning +I18n.enforce_available_locales
update resources