Update settings.py

Using env-variable "DB" to determine which DB setup is used. This allows easy configuring in CI environments like travis.