Rails 4 upgrade [WIP]

I just started it.