Sync boilerplate with Rails 4.1.4
Update CSRF helper usage

Renamed back in Rails 3.1.0
Remove obsolete configuration values