Use environ library.

Move database connection information to environment variable with options for
dev and test environments.