Upgrade to Ruby 2 and Rails 4
Update projects
Fix precompilation
Fix Rails 4 issues