changes to deploy to production

adding capistrano, refactor database.yml
relies on .env file for all the interesting bits.