Starting to get setup to run the rails app in a docker container.

* Also re-thought and updated how config works, making much heavier
use of environment variables and .env files so that the same code can
work in vagrant, docker, or direct on a dev machine.