Update CSRF helper usage

Renamed back in Rails 3.1.0
Remove obsolete configuration values
Enable migration check in development environment

This is the default configuration in Rails 4.
Specify environment when precompiling assets

Fixes #1704

[ci skip]
Update note about asset precompilation environment

Ref #1704 [ci skip]