add rails_12factor gem and set versions