Updated database config to use environment vars.

More cleanup after #124.

RSpec: 708 examples, 0 failures
RuboCop: 181 files inspected, no offenses detected