Setup for easy deployment on Cloud Foundry and Heroku as well as easy local development

- switch to PostgreSQL in development
- move HOST and GOOGLE* environment variables into scripts, one for dev, CF, and Heroku
- git-ignore the above scripts