updated migrate.js; added ruby version to Gemfile; fixed syntax in config.ru; updated environment.rb for heroku