upgrade to rails 4.0.9, fix capistrano deployment