update rails 4.0.3 to 4.0.5

 * update rails gems
 * run rake rails:update
Fix ruby version for travis
Fix locale setting on poltergeist
Merge branch 'update_rails_4_0_5'
Bump up version of rails
Change url validation gem
User secrets.yml instead of secret_token.rb
Fix flash message key
Merge branch 'rails_4.1.1'
secret_base for staging