Update gems for Rails 4.0.2
Update config to be compatible with Rails 4
No more assets group in rails 4

We use pre-compiled assets anyway.
Update routes for Rails 4 compatibility

The `match` method is no longer supported.
Default scopes must be lambdas
Update associations to use new syntax
Temporary fix to get routes compiling

The localised routes patch needs updating
/script/rails is unnecessary

Rails and Bundler should just do the right thing
No need to require rubygems on boot
Initialize new secret token setting
Move parameter filtering to initializer

This is what Rails 4 does by default
This should no longer be necessary
Scopes should be given callable object
TEMP: Disable test_track gem

Doesn't appear to play nice with Rails 4.
Specify regexp validation as multiline

According to the error from Rails 4 - "The provided regular expression
is using multiline anchors (^ or $), which may present a security
risk. Did you mean to use \A and \z, or forgot to add the
:multiline => true option?"
scoped method deprecated
Fix regexp deprecation warning

Don't use multiline matcher when we mean mstart of string
More deprecation warnings
No need for assert_block here
TEMP: Disable protected attributes

They don't play nice with Rails-4 compatible globalize. Will replace
with strong params where appropriate.