upgrade to rails 4.0.0, route.rb fix, assetpipe line fix